mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +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=(
|
CONFIG_FRAGMENTS=(
|
||||||
aufs
|
aufs
|
||||||
|
bridge
|
||||||
blkdevram
|
blkdevram
|
||||||
cifs
|
cifs
|
||||||
debug
|
debug
|
||||||
@ -51,6 +52,11 @@ aufs_config="
|
|||||||
CONFIG_AUFS_FS=y
|
CONFIG_AUFS_FS=y
|
||||||
"
|
"
|
||||||
|
|
||||||
|
bridge_desc="bridge"
|
||||||
|
bridge_config="
|
||||||
|
CONFIG_BRIDGE=y
|
||||||
|
"
|
||||||
|
|
||||||
blkdevram_desc="ram block device"
|
blkdevram_desc="ram block device"
|
||||||
blkdevram_config="
|
blkdevram_config="
|
||||||
CONFIG_BLK_DEV_RAM=y
|
CONFIG_BLK_DEV_RAM=y
|
||||||
@ -180,9 +186,6 @@ CONFIG_DEBUG_INFO=y
|
|||||||
# Add all config fragments as off by default
|
# Add all config fragments as off by default
|
||||||
IUSE="${IUSE} ${CONFIG_FRAGMENTS[@]}"
|
IUSE="${IUSE} ${CONFIG_FRAGMENTS[@]}"
|
||||||
|
|
||||||
# CoreOS always wants aufs... for now
|
|
||||||
IUSE="${IUSE} +aufs"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
initramfs? ( !netboot_ramfs )
|
initramfs? ( !netboot_ramfs )
|
||||||
netboot_ramfs? ( !initramfs )
|
netboot_ramfs? ( !initramfs )
|
||||||
|
Loading…
Reference in New Issue
Block a user