From aa0eb3349d354ea245a243124ee7b3b4cb8ca81f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 29 Dec 2018 13:49:43 +0100 Subject: Add 'nls_ascii' to initramfs to avoid USB pendrive boot warning --- data/live-build-config/hooks/live/17-gen_initramfs.chroot | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') 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 aced728a..0f5e0ece 100755 --- a/data/live-build-config/hooks/live/17-gen_initramfs.chroot +++ b/data/live-build-config/hooks/live/17-gen_initramfs.chroot @@ -1,4 +1,8 @@ #!/bin/sh 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'` -- cgit v1.2.3