mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 20:26:44 +02:00
Enable fbconsole in recovery and factory shims
This CL depends on http://codereview.chromium.org/6765018 which adds fbconsole USE flag. Change-Id: I159680e2cd53b6493545f6c0b1caaa8a7e833cb3 BUG=chromium-os:13607 TEST=run mod_image_for_recovery.sh and boot to recovery image to see messages showed on framebuffer console. Review URL: http://codereview.chromium.org/6814041
This commit is contained in:
parent
d7d79fed66
commit
1f6a0ba388
@ -193,7 +193,7 @@ if [ ${FLAGS_factory_install} -eq ${FLAGS_TRUE} ] ; then
|
||||
# Factory install needs to have the kernel initrmafs enabled,
|
||||
# and the factory installer added.
|
||||
EXTRA_PACKAGES="${EXTRA_PACKAGES} chromeos-base/chromeos-factoryinstall"
|
||||
export USE="${USE} initramfs"
|
||||
export USE="${USE} fbconsole initramfs"
|
||||
fi
|
||||
|
||||
emerge_to_image() {
|
||||
|
||||
@ -175,7 +175,7 @@ emerge_recovery_kernel() {
|
||||
$EMERGE_BOARD_CMD \
|
||||
$emerge_flags --binpkg-respect-use=y \
|
||||
chromeos-initramfs || die "no initramfs"
|
||||
USE="initramfs" $EMERGE_BOARD_CMD \
|
||||
USE="fbconsole initramfs" $EMERGE_BOARD_CMD \
|
||||
$emerge_flags --binpkg-respect-use=y \
|
||||
virtual/kernel
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user