mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
feat(eclass/cros-kernel2.eclass): add the bridge feature
with the bridge use flag we will compile in network bridging support.
This commit is contained in:
parent
622d9c77b5
commit
edcb8a79bc
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user