mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
fixups: flash-kernel: fix to add 'root=...' to 'LINUX_KERNEL_CMDLINE'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I468dc20bae92853b7885e63a0e2552f28283f515
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
PLYMOUTH_CMDLINE="plymouth.ignore-serial-consoles"
|
||||
|
||||
if [ -f /etc/default/flash-kernel ]; then
|
||||
. /etc/default/flash-kernel
|
||||
|
||||
sed -i "s/^LINUX_KERNEL_CMDLINE=.*/LINUX_KERNEL_CMDLINE=\"root=UUID=@@DEFAULT_DEV_ROOTFS@@ $LINUX_KERNEL_CMDLINE\"/g" \
|
||||
/etc/default/flash-kernel
|
||||
fi
|
||||
|
||||
if dpkg -s plymouth >/dev/null; then
|
||||
echo "FRAMEBUFFER=y" > /etc/initramfs-tools/conf.d/splash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user