mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
Add console kernel options
Live image installer did not preserve BSP specified console= kernel parameter. This patch updates the init scripts that are responsible for grub.cfg creation so that options like console= are passed allong from installer to installed img [YOCTO #2426] (From OE-Core rev: e18c59eb5a61f265b9cad6de68359fa1430b0e58) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
99ed56ff38
commit
807ff46bc9
@@ -156,6 +156,7 @@ if [ -f /ssd/etc/grub.d/40_custom ] ; then
|
||||
sed -i "s@__ROOTFS__@$rootfs $rootwait@g" /ssd/etc/grub.d/40_custom
|
||||
sed -i "s/__VIDEO_MODE__/$3/g" /ssd/etc/grub.d/40_custom
|
||||
sed -i "s/__VGA_MODE__/$4/g" /ssd/etc/grub.d/40_custom
|
||||
sed -i "s/__CONSOLE__/$5/g" /ssd/etc/grub.d/40_custom
|
||||
mount $bootfs /bootmnt
|
||||
cp /ssd/etc/grub.d/40_custom /bootmnt/40_custom
|
||||
umount /bootmnt
|
||||
|
||||
Reference in New Issue
Block a user