mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
fixups: flash-kernel: Add Plymouth settings to 'flash-kernel'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: Ie3e10ceba6fc181c777437120ce0c8c2f40be04a
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
PLYMOUTH_CMDLINE="plymouth.ignore-serial-consoles"
|
||||
|
||||
if dpkg -s plymouth >/dev/null; then
|
||||
echo "FRAMEBUFFER=y" > /etc/initramfs-tools/conf.d/splash
|
||||
|
||||
if [ -f /etc/default/flash-kernel ]; then
|
||||
. /etc/default/flash-kernel
|
||||
|
||||
sed -i "s/^LINUX_KERNEL_CMDLINE=.*/LINUX_KERNEL_CMDLINE=\"$LINUX_KERNEL_CMDLINE $PLYMOUTH_CMDLINE\"/g" \
|
||||
/etc/default/flash-kernel
|
||||
fi
|
||||
fi
|
||||
|
||||
echo flash-kernel flash-kernel/linux_cmdline string @@LINUX_KERNEL_CMDLINE@@ | \
|
||||
debconf-set-selections
|
||||
|
||||
|
||||
Reference in New Issue
Block a user