[OE-core] [PATCH] util-linux: create an all encompassing package group

Martin Jansa martin.jansa at gmail.com
Wed Aug 6 14:42:34 UTC 2014


On Wed, Aug 06, 2014 at 10:20:09AM -0400, Paul Gortmaker wrote:
> On 14-08-06 04:21 AM, Martin Jansa wrote:
> > On Tue, Aug 05, 2014 at 01:26:12PM -0400, Paul Gortmaker wrote:
> >> Currently util-linux is fragmented into lots of small chunks,
> >> and if one is looking to avoid using busybox wholesale, there
> >> is currently no easy way to say "I want all of it".  Here we
> >> create a packagegroup for all of the util-linux chunks, so
> >> that it need not be duplicated by everyone wanting the same
> >> overall goal of removing busybox.
> > 
> > Why don't you define these as empty packages with just RDEPENDS
> > in util-linux?
> 
> Sorry, but I'm not quite sure I follow what you mean.  Can you
> provide more detail, or perhaps point at a bb as an example
> implementation of what you have in mind?

e.g. kernel-modules which doesn't contain any files but has RDEPENDS for
all built kernel-module-*.

Similar are python-modules, perl-modules, gst-meta-*, libdrm-drivers,
pango-modules, ..

> Thanks,
> Paul.
> --
> 
> > 
> >> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> >>
> >> diff --git a/meta/recipes-core/packagegroups/packagegroup-util-linux.bb b/meta/recipes-core/packagegroups/packagegroup-util-linux.bb
> >> new file mode 100644
> >> index 000000000000..54151502b176
> >> --- /dev/null
> >> +++ b/meta/recipes-core/packagegroups/packagegroup-util-linux.bb
> >> @@ -0,0 +1,69 @@
> >> +#
> >> +# Copyright (C) 2014 Wind River
> >> +#
> >> +
> >> +SUMMARY = "util-linux Packages"
> >> +DESCRIPTION = "Packages created from util-linux"
> >> +PR = "r0"
> >> +LICENSE = "MIT"
> >> +
> >> +inherit packagegroup
> >> +
> >> +PACKAGES = "\
> >> +    packagegroup-util-linux \
> >> +    packagegroup-util-linux-block \
> >> +    packagegroup-util-linux-console \
> >> +    packagegroup-util-linux-uid \
> >> +    packagegroup-util-linux-misc \
> >> +    packagegroup-util-linux-partition \
> >> +    "
> >> +
> >> +RDEPENDS_packagegroup-util-linux = "\
> >> +    packagegroup-util-linux-block \
> >> +    packagegroup-util-linux-console \
> >> +    packagegroup-util-linux-uid \
> >> +    packagegroup-util-linux-misc \
> >> +    packagegroup-util-linux-partition \
> >> +    "
> >> +
> >> +RDEPENDS_packagegroup-util-linux-partition = "\
> >> +    util-linux-fdisk \
> >> +    util-linux-cfdisk \
> >> +    util-linux-sfdisk \
> >> +    util-linux-partx \
> >> +    "
> >> +
> >> +RDEPENDS_packagegroup-util-linux-console = "\
> >> +    util-linux-agetty \
> >> +    util-linux-reset \
> >> +    "
> >> +
> >> +RDEPENDS_packagegroup-util-linux-block = " \
> >> +    util-linux-mkfs \
> >> +    util-linux-mkfs.cramfs \
> >> +    util-linux-fsck.cramfs \
> >> +    util-linux-fstrim \
> >> +    util-linux-fsck \
> >> +    util-linux-blkid \
> >> +    util-linux-libblkid \
> >> +    util-linux-umount \
> >> +    util-linux-mount \
> >> +    util-linux-libmount \
> >> +    util-linux-swaponoff \
> >> +    "
> >> +
> >> +RDEPENDS_packagegroup-util-linux-uid = "\
> >> +    util-linux-libuuid \
> >> +    util-linux-uuidd \
> >> +    util-linux-uuidgen \
> >> +    util-linux-findfs \
> >> +    "
> >> +
> >> +RDEPENDS_packagegroup-util-linux-misc = "\
> >> +    util-linux-losetup \
> >> +    util-linux-readprofile \
> >> +    util-linux-lscpu \
> >> +    util-linux-mcookie \
> >> +    util-linux-bash-completion \
> >> +    util-linux-hwclock \
> >> +    "
> >> -- 
> >> 1.9.1
> >>
> >> -- 
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core at lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> > 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140806/5ee3fa1b/attachment-0002.sig>


More information about the Openembedded-core mailing list