From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by mail.openembedded.org (Postfix) with ESMTP id 3CE3460291 for ; Wed, 6 Mar 2019 14:36:27 +0000 (UTC) Received: by mail-ed1-f48.google.com with SMTP id g19so10555096edp.2 for ; Wed, 06 Mar 2019 06:36:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Ugprp86ffP3J0leJD2YF/4iToZT3YJB/G2V/KqB5Kv0=; b=ZtfUGaSFtMFKO7D3Pl0WwKNAG6wcbOsEXGshkVrpUG3kTUvU8wtdd6xXjb/LpWDiiW nT/Oaabxi3IzVmgcEwqWglqkZKqrIii5qmqYPmoPAiGaUIZTYgTF6BDbEVxaCjAygRi/ w/2S19G3HQFJ3GffnMSiPdAdlW82Hp3JYsA/nvXW2FT7AV8HdOJK74Z5KctE35QHnI+J 9dOFAtEV93JTYUyQBZzQ5WytOULyO5t2uh7za0fnRPAbqRs7754LXCnzzzt4kMoKbbo6 IVVZ0N5GB7hcs/5Mo36Y3JLCIa6O+3kKrnsI6I8DkkqVfRiiTKMYY5ENjob9IwjepZMK byHw== X-Gm-Message-State: APjAAAXYVtOc2btGGA8Y6o+ez+o7020qaFMLQJgp09x2YZNk0QVauLcb CKLzn1uYAcBjHWlJl2Z65FJ+Ocg= X-Google-Smtp-Source: APXvYqyw6h9cjphXWWZKUB97WqV9tSctALzAorQnvHC5hXeHSTqRonkBErM0M5bVahxXlsRYBMnGSg== X-Received: by 2002:a05:6402:1690:: with SMTP id a16mr24206164edv.16.1551882987518; Wed, 06 Mar 2019 06:36:27 -0800 (PST) Received: from bill-the-cat.local (cpe-2606-A000-1401-880D-159-4081-9338-CA43.dyn6.twc.com. [2606:a000:1401:880d:159:4081:9338:ca43]) by smtp.gmail.com with ESMTPSA id i14sm363467ejy.41.2019.03.06.06.36.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Mar 2019 06:36:26 -0800 (PST) From: Tom Rini To: openembedded-core@lists.openembedded.org Date: Wed, 6 Mar 2019 09:36:12 -0500 Message-Id: <1551882973-8710-4-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1551882973-8710-1-git-send-email-trini@konsulko.com> References: <1551882973-8710-1-git-send-email-trini@konsulko.com> Subject: [PATCH v2 3/4] packagegroup-core-base-utils: Introduce new base-utils packagegroup X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2019 14:36:27 -0000 This packagegroup is intended to provide all of the functionality found in other VIRTUAL-RUNTIME_base-utils providers through full packages rather than an all-on-one package. Document how to make use of this in local.conf.sample.extended. Introduce VIRTUAL-RUNTIME-vim and default this to vim-tiny to allow for a differently features vim to be used instead. Signed-off-by: Tom Rini --- Changes in v2: - Add a few more inetutils packages - List kbd, add a few more packages specifically for non-systemd systems, thanks Mark! --- meta/conf/local.conf.sample.extended | 8 +++ .../packagegroups/packagegroup-core-base-utils.bb | 58 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index 8062e4c5721b..d00221893ad9 100644 --- a/meta/conf/local.conf.sample.extended +++ b/meta/conf/local.conf.sample.extended @@ -384,3 +384,11 @@ #VIRTUAL-RUNTIME_login_manager = "shadow-base" #VIRTUAL-RUNTIME_init_manager = "systemd" #VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" + +# +# Use a full set of packages instead of busybox for base utils +# +#PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils" +#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils" +#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" +#VIRTUAL-RUNTIME_base-utils-syslog = "syslog" diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb new file mode 100644 index 000000000000..431dbb092615 --- /dev/null +++ b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb @@ -0,0 +1,58 @@ +# +# Copyright (C) 2019 Konsulko Group +# + +SUMMARY = "Full-featured set of base utils" +DESCRIPTION = "Package group bringing in packages needed to provide much of the base utils type functionality found in busybox" + +inherit packagegroup + +VIRTUAL-RUNTIME_vim ?= "vim-tiny" + +RDEPENDS_${PN} = "\ + base-passwd \ + bash \ + bind-utils \ + bzip2 \ + coreutils \ + cpio \ + ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "debianutils-run-parts", d)} \ + dhcp-client \ + ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "dhcp-server", d)} \ + diffutils \ + ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "dpkg-start-stop", d)} \ + e2fsprogs \ + ed \ + file \ + findutils \ + gawk \ + grep \ + gzip \ + ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "ifupdown", d)} \ + inetutils \ + inetutils-ping \ + inetutils-telnet \ + inetutils-tftp \ + inetutils-traceroute \ + iproute2 \ + ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "kbd", "", d)} \ + kmod \ + less \ + lzip \ + ncurses-tools \ + net-tools \ + parted \ + patch \ + procps \ + psmisc \ + sed \ + shadow-base \ + tar \ + time \ + unzip \ + util-linux \ + ${VIRTUAL-RUNTIME_vim} \ + wget \ + which \ + xz \ + " -- 2.7.4