From 275d504b2f979901278141a4ba217d02a099f980 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 1 Oct 2020 16:50:25 +0100 Subject: [PATCH] libtools-cross/shadow-sysroot: Use nopackages inherit When testing pseudo changes I realised these recipes have packaging tasks but don't generate packages. Drop the packages tasks for cleanliness. Signed-off-by: Richard Purdie (cherry picked from commit ef9c11797b5d626bdb40b4509d8b2b0d461ff9ea) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb | 2 ++ meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb b/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb index 522bf3a0e9..02c6e152fc 100644 --- a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb +++ b/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb @@ -6,6 +6,8 @@ SRC_URI += "file://fixinstall.patch" datadir = "${STAGING_DIR_TARGET}${target_datadir}" +inherit nopackages + do_configure_prepend () { # Remove any existing libtool m4 since old stale versions would break # any upgrade diff --git a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb index 79fc8b80b5..5f7ea00bf1 100644 --- a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb +++ b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb @@ -30,3 +30,5 @@ SYSROOT_DIRS += "${sysconfdir}" # otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot # and this has another copy of /etc/login.defs already provided by shadow PACKAGES = "" + +inherit nopackages -- 2.40.1