mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
hooks: initramfs: add option to remove an existing initramfs
This commit is contained in:
parent
9da68d6850
commit
5a3489861d
@ -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'`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user