summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/17-gen_initramfs.chroot
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-05 19:39:37 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-05 19:39:37 +0200
commit355d187696961401db490ddc9ded6b342052cc7b (patch)
tree23afd44d9c83b921c9e14d8a881b8c7481776fd1 /data/live-build-config/hooks/live/17-gen_initramfs.chroot
parentf38c2f22ffb11dcd07b299873692611990566070 (diff)
downloadvyos-build-355d187696961401db490ddc9ded6b342052cc7b.tar.gz
vyos-build-355d187696961401db490ddc9ded6b342052cc7b.zip
hooks: initramfs: add option to update an existing initramfs
Diffstat (limited to 'data/live-build-config/hooks/live/17-gen_initramfs.chroot')
-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 0f5e0ece..6ecf4be7 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 -u -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`