From edcb8a79bc70b36e8abe3be422914e16f0349b86 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 4 Apr 2013 13:18:29 -0700 Subject: [PATCH] feat(eclass/cros-kernel2.eclass): add the bridge feature with the bridge use flag we will compile in network bridging support. --- .../coreos-overlay/eclass/cros-kernel2.eclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass index 2988bbbe2e..ec6e6d1ecd 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass @@ -30,6 +30,7 @@ STRIP_MASK="/usr/lib/debug/boot/vmlinux" CONFIG_FRAGMENTS=( aufs + bridge blkdevram cifs debug @@ -51,6 +52,11 @@ aufs_config=" CONFIG_AUFS_FS=y " +bridge_desc="bridge" +bridge_config=" +CONFIG_BRIDGE=y +" + blkdevram_desc="ram block device" blkdevram_config=" CONFIG_BLK_DEV_RAM=y @@ -180,9 +186,6 @@ CONFIG_DEBUG_INFO=y # Add all config fragments as off by default IUSE="${IUSE} ${CONFIG_FRAGMENTS[@]}" -# CoreOS always wants aufs... for now -IUSE="${IUSE} +aufs" - REQUIRED_USE=" initramfs? ( !netboot_ramfs ) netboot_ramfs? ( !initramfs )