Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: chromeos-base/kernel/kernel-9999.ebuild

Issue 4120005: kernel, chromeos-initramfs: overhaul for recovery support (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git
Patch Set: disable shim script in official mode pending http://crosbug/8390 Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos-base/chromeos-initramfs/files/init ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-base/kernel/kernel-9999.ebuild
diff --git a/chromeos-base/kernel/kernel-9999.ebuild b/chromeos-base/kernel/kernel-9999.ebuild
index 3c78d7fed2057fb054c76a3adfb306f0b3313043..cfb6917509faf8e5aec3bd88bcea8c40408d0523 100644
--- a/chromeos-base/kernel/kernel-9999.ebuild
+++ b/chromeos-base/kernel/kernel-9999.ebuild
@@ -82,6 +82,16 @@ src_configure() {
src_compile() {
if use initramfs; then
INITRAMFS="CONFIG_INITRAMFS_SOURCE=${ROOT}/usr/bin/initramfs.cpio.gz"
+ # We want avoid copying modules into the initramfs so we need to enable
+ # the functionality required for the initramfs here.
+
+ # TPM support to ensure proper locking.
+ INITRAMFS="$INITRAMFS CONFIG_TCG_TPM=y CONFIG_TCG_TIS=y"
+
+ # VFAT FS support for EFI System Partition updates.
+ INITRAMFS="$INITRAMFS CONFIG_NLS_CODEPAGE_437=y"
+ INITRAMFS="$INITRAMFS CONFIG_NLS_ISO8859_1=y"
+ INITRAMFS="$INITRAMFS CONFIG_FAT_FS=y CONFIG_VFAT_FS=y"
else
INITRAMFS=""
fi
« no previous file with comments | « chromeos-base/chromeos-initramfs/files/init ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698