From 5a3489861dc50e6bd4083993ad8065340f8f7c0f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 5 May 2019 17:44:23 +0200 Subject: hooks: initramfs: add option to remove an existing initramfs --- data/live-build-config/hooks/live/17-gen_initramfs.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/live-build-config/hooks') diff --git a/data/live-build-config/hooks/live/17-gen_initramfs.chroot b/data/live-build-config/hooks/live/17-gen_initramfs.chroot index 0f5e0ece..9c2cfb04 100755 --- a/data/live-build-config/hooks/live/17-gen_initramfs.chroot +++ b/data/live-build-config/hooks/live/17-gen_initramfs.chroot @@ -5,4 +5,4 @@ echo I: Create initramfs if it does not exist. # Kernel complains about non available nls_ascii module when booting from USB pendrive echo "nls_ascii" >> /etc/initramfs-tools/modules -update-initramfs -c -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'` +update-initramfs -c -d -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'` -- cgit v1.2.3