summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-05 19:38:41 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-05 19:38:41 +0200
commitf38c2f22ffb11dcd07b299873692611990566070 (patch)
tree6927aef25c90f41ebcb3b33998b7448efd4b9a85 /data
parent0e32ee9576251ce8bc21aa88ff96c77fba2b9c48 (diff)
downloadvyos-build-f38c2f22ffb11dcd07b299873692611990566070.tar.gz
vyos-build-f38c2f22ffb11dcd07b299873692611990566070.zip
Revert "hooks: initramfs: add option to remove an existing initramfs"
This reverts commit 5a3489861dc50e6bd4083993ad8065340f8f7c0f.
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/17-gen_initramfs.chroot2
1 files changed, 1 insertions, 1 deletions
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 9c2cfb04..0f5e0ece 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 -d -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`
+update-initramfs -c -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`