mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Add 'nls_ascii' to initramfs to avoid USB pendrive boot warning
This commit is contained in:
parent
b6e17d7244
commit
aa0eb3349d
@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo I: Create initramfs if it does not exist.
|
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 -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user