From 0fa7ab23ed0c8fbf46f64541243903ec520e91d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Fri, 14 Oct 2022 10:49:25 +0200 Subject: [PATCH] Add an additional subdir. --- live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary | 2 +- .../base/{ => riscv64}/initramfs-tools/modules_list.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename live-build/ubuntu-cpc/hooks.d/base/{ => riscv64}/initramfs-tools/modules_list.conf (100%) diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary index 6ba378ea..0610e413 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary @@ -270,7 +270,7 @@ install_grub() { local my_d=$(dirname $(readlink -f ${0})) echo "Reducing initramfs size for ${SUBARCH} board" mkdir -p mountpoint/etc/initramfs-tools/conf.d/ - cp ${my_d}/initramfs-tools/modules_list.conf mountpoint/etc/initramfs-tools/conf.d/ + cp ${my_d}/riscv64/initramfs-tools/modules_list.conf mountpoint/etc/initramfs-tools/conf.d/ chroot mountpoint update-initramfs -c -v -k all echo "Installing U-Boot for ${SUBARCH} board" # flash-kernel is needed to install the dtb for update-grub: it uses the diff --git a/live-build/ubuntu-cpc/hooks.d/base/initramfs-tools/modules_list.conf b/live-build/ubuntu-cpc/hooks.d/base/riscv64/initramfs-tools/modules_list.conf similarity index 100% rename from live-build/ubuntu-cpc/hooks.d/base/initramfs-tools/modules_list.conf rename to live-build/ubuntu-cpc/hooks.d/base/riscv64/initramfs-tools/modules_list.conf