diff options
author | Radu Moisan <radu.moisan@intel.com> | 2012-07-19 14:59:52 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-19 17:18:10 +0100 |
commit | 807ff46bc9d94106a11a58621994cc15e80f6d14 (patch) | |
tree | 3ad71ce6e1c4f74939a270e7d751a2026b1b106f /meta/recipes-core/initrdscripts/files/init-install.sh | |
parent | 99ed56ff38bb8ffac849c059905578e11df8f037 (diff) | |
download | poky-807ff46bc9d94106a11a58621994cc15e80f6d14.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install.sh')
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 0ac4949355..c1f8cba5d3 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -156,6 +156,7 @@ if [ -f /ssd/etc/grub.d/40_custom ] ; then | |||
156 | sed -i "s@__ROOTFS__@$rootfs $rootwait@g" /ssd/etc/grub.d/40_custom | 156 | sed -i "s@__ROOTFS__@$rootfs $rootwait@g" /ssd/etc/grub.d/40_custom |
157 | sed -i "s/__VIDEO_MODE__/$3/g" /ssd/etc/grub.d/40_custom | 157 | sed -i "s/__VIDEO_MODE__/$3/g" /ssd/etc/grub.d/40_custom |
158 | sed -i "s/__VGA_MODE__/$4/g" /ssd/etc/grub.d/40_custom | 158 | sed -i "s/__VGA_MODE__/$4/g" /ssd/etc/grub.d/40_custom |
159 | sed -i "s/__CONSOLE__/$5/g" /ssd/etc/grub.d/40_custom | ||
159 | mount $bootfs /bootmnt | 160 | mount $bootfs /bootmnt |
160 | cp /ssd/etc/grub.d/40_custom /bootmnt/40_custom | 161 | cp /ssd/etc/grub.d/40_custom /bootmnt/40_custom |
161 | umount /bootmnt | 162 | umount /bootmnt |