feat(networkmanager): add networkmanager as an image feature
This commit is contained in:
parent
1fe4a473b6
commit
e9efb7027b
|
|
@ -10,13 +10,17 @@ FEATURE_PACKAGES_container = "packagegroup-coreos-container"
|
||||||
FEATURE_PACKAGES_container-dev-tools = "packagegroup-coreos-container-dev-tools"
|
FEATURE_PACKAGES_container-dev-tools = "packagegroup-coreos-container-dev-tools"
|
||||||
FEATURE_PACKAGES_container-cockpit = "cockpit-podman"
|
FEATURE_PACKAGES_container-cockpit = "cockpit-podman"
|
||||||
|
|
||||||
|
FEATURE_PACKAGES_networkmanager = "networkmanager networkmanager-nmcli"
|
||||||
|
FEATURE_PACKAGES_networkmanager-dev-tools = "networkmanager-nmtui"
|
||||||
|
FEATURE_PACKAGES_networkmanager-cockpit = "cockpit-networkmanager"
|
||||||
|
|
||||||
# The cockpit feature automatically install the corresponding
|
# The cockpit feature automatically install the corresponding
|
||||||
# *-cockpit FEATURES_PACKAGES for any image features
|
# *-cockpit FEATURES_PACKAGES for any image features
|
||||||
FEATURE_PACKAGES_cockpit = "packagegroup-coreos-cockpit ${@get_feature_packages_with_suffix('cockpit', d)}"
|
FEATURE_PACKAGES_cockpit = "packagegroup-coreos-cockpit ${@get_feature_packages_with_suffix('cockpit', d)}"
|
||||||
|
|
||||||
# The dev-tools feature automatically install the corresponding
|
# The dev-tools feature automatically install the corresponding
|
||||||
# *-dev-tools FEATURES_PACKAGES for any image features
|
# *-dev-tools FEATURES_PACKAGES for any image features
|
||||||
FEATURE_PACKAGES_dev-tools = "${@get_feature_packages_with_suffix('dev-tool', d)}"
|
FEATURE_PACKAGES_dev-tools = "${@get_feature_packages_with_suffix('dev-tools', d)}"
|
||||||
|
|
||||||
def get_feature_packages_with_suffix(suffix, d):
|
def get_feature_packages_with_suffix(suffix, d):
|
||||||
"""
|
"""
|
||||||
|
|
@ -58,6 +62,7 @@ PACKAGE_EXCLUDE_COMPLEMENTARY:append = "${@bb.utils.contains_any('PACKAGE_INSTAL
|
||||||
# IMAGE_FEATURES_CONFLICTS_foo = 'bar1 bar2'
|
# IMAGE_FEATURES_CONFLICTS_foo = 'bar1 bar2'
|
||||||
# An error exception would be raised if both image features foo and bar1(or bar2) are included
|
# An error exception would be raised if both image features foo and bar1(or bar2) are included
|
||||||
|
|
||||||
|
|
||||||
COREOS_IMAGE_BASE_INSTALL = '\
|
COREOS_IMAGE_BASE_INSTALL = '\
|
||||||
packagegroup-core-boot \
|
packagegroup-core-boot \
|
||||||
packagegroup-base-extended \
|
packagegroup-base-extended \
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ BBFILE_PRIORITY_meta-belden-coreos = "6"
|
||||||
LAYERDEPENDS_meta-belden-coreos = "\
|
LAYERDEPENDS_meta-belden-coreos = "\
|
||||||
core \
|
core \
|
||||||
openembedded-layer \
|
openembedded-layer \
|
||||||
|
networking-layer \
|
||||||
virtualization-layer \
|
virtualization-layer \
|
||||||
webserver \
|
webserver \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ functionality installed."
|
||||||
|
|
||||||
inherit coreos-image
|
inherit coreos-image
|
||||||
|
|
||||||
IMAGE_FEATURES += "ssh-server container dev-tools cockpit"
|
IMAGE_FEATURES += "ssh-server container dev-tools cockpit networkmanager"
|
||||||
IMAGE_INSTALL:append = " packagegroup-core-full-cmdline"
|
IMAGE_INSTALL:append = " packagegroup-core-full-cmdline"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue