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:
Tom Wai-Hong Tam 2011-04-26 18:09:16 +08:00
parent d7d79fed66
commit 1f6a0ba388
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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
}