[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH v3] initscripts: Remove empty packages
From:       Andre McCurdy <armccurdy () gmail ! com>
Date:       2017-09-29 20:41:28
Message-ID: CAJ86T=VRJg1wPRyvCi6Njz+k=ZdyfGKggS_0U1ygshDcS5yjFA () mail ! gmail ! com
[Download RAW message or body]

On Fri, Sep 29, 2017 at 7:06 AM, Jef Driesen <jef.driesen@niko.eu> wrote:
> Because the initscripts recipe contains only some shell scripts, the standard
> packages (e.g. ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc, etc) are all
> empty and can be removed.

Removing empty -dev packages can sometimes cause unexpected problems
for people who create SDKs. I don't know if that's the case here (I
guess not) but unless the empty packages are actually causing a
problem I'd be inclined to leave them alone.

> Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
> ---
> meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb \
> b/meta/recipes-core/initscripts/initscripts_1.0.bb index fea4f22..b8b33b7 100644
> --- a/meta/recipes-core/initscripts/initscripts_1.0.bb
> +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
> @@ -47,7 +47,7 @@ inherit update-alternatives
> DEPENDS_append = " update-rc.d-native"
> PACKAGE_WRITE_DEPS_append = " \
> ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" \
>                 
> -PACKAGES =+ "${PN}-functions ${PN}-sushell"
> +PACKAGES = "${PN}-functions ${PN}-sushell ${PN}"
> RDEPENDS_${PN} = "${PN}-functions \
> ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \
> "
> --
> 2.7.4
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic