From bb082fbba6025d734c07b5ffd96c75de15e9968f Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Mon, 7 Aug 2023 17:07:06 +0200 Subject: [PATCH] distro/images/ramdisk-minimal: Add networkmanager To easily configure and test the different network interfaces. nss and gnutls packageconfigs are required to build it. id:413752 --- layers/meta-nwl-distro/conf/distro/nwl.conf | 5 ++++- .../recipes-core/images/nwl-ramdisk-minimal.bb | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/layers/meta-nwl-distro/conf/distro/nwl.conf b/layers/meta-nwl-distro/conf/distro/nwl.conf index 03b8042..73a7cc2 100644 --- a/layers/meta-nwl-distro/conf/distro/nwl.conf +++ b/layers/meta-nwl-distro/conf/distro/nwl.conf @@ -34,5 +34,8 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED = "ldconfig pulseaudio gobject-introspection DISTRO_FEATURES:remove = "ptest virtualization" PACKAGECONFIG:pn-systemd = "usrmerge rfkill kmod timedated vconsole" -PACKAGECONFIG:pn-networkmanager = "systemd wifi bluez5 nmcli" +PACKAGECONFIG:pn-networkmanager = "systemd nss gnutls wifi bluez5 nmcli" PACKAGECONFIG:pn-bluez5 = "systemd udev" + +# Wit busybox "less" the output of "nmcli c" does not show up properly +RDEPENDS:networkmanager-nmcli += "less" diff --git a/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb b/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb index 5426c8a..c4101d2 100644 --- a/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb +++ b/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb @@ -11,3 +11,7 @@ NO_RECOMMENDATIONS = "1" COREOS_IMAGE_GENERATE_INSTALLER = "0" COREOS_IMAGE_GENERATE_UKI = "0" COREOS_IMAGE_GENERATE_SWU = "0" + +IMAGE_INSTALL:append = " \ + networkmanager-nmcli \ + "