mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Add TPM and I2C device USE flags when building initramfs kernel
This is to match the refactoring of kernel eclass. BUG=chrome-os-partner:17368 TEST=Build factory install shim and install. Change-Id: Ia47f1c9632f82c127a818ca69fbcc91feacbfdcd Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/41755 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
4cae07382d
commit
3239b1aacd
@ -125,7 +125,7 @@ if should_build_image ${CHROMEOS_FACTORY_INSTALL_SHIM_NAME}; then
|
||||
|
||||
BASE_PACKAGE="chromeos-base/chromeos-installshim"
|
||||
|
||||
export USE="${USE} initramfs vfat"
|
||||
export USE="${USE} initramfs vfat tpm i2cdev"
|
||||
|
||||
# On ARM, fbconsole is required to fix a display driver bug.
|
||||
if [ "${ARCH}" = "arm" ] ; then
|
||||
|
||||
@ -330,7 +330,8 @@ fi
|
||||
|
||||
# Build the recovery kernel.
|
||||
FACTORY_ROOT="${BOARD_ROOT}/factory-root"
|
||||
USE="fbconsole initramfs vfat" emerge_custom_kernel "$FACTORY_ROOT" ||
|
||||
RECOVERY_KERNEL_FLAGS="fbconsole initramfs vfat tpm i2cdev"
|
||||
USE="${RECOVERY_KERNEL_FLAGS}" emerge_custom_kernel "$FACTORY_ROOT" ||
|
||||
failboat "Cannot emerge custom kernel"
|
||||
|
||||
if [ -z "$FLAGS_kernel_image" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user