All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] util-linux: create an all encompassing package group
@ 2014-08-05 17:26 Paul Gortmaker
  2014-08-06  8:21 ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2014-08-05 17:26 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] util-linux: create an all encompassing package group
  2014-08-05 17:26 [PATCH] util-linux: create an all encompassing package group Paul Gortmaker
@ 2014-08-06  8:21 ` Martin Jansa
  2014-08-06 14:20   ` Paul Gortmaker
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2014-08-06  8:21 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2998 bytes --]

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?

> Signed-off-by: Paul Gortmaker <paul.gortmaker@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] util-linux: create an all encompassing package group
  2014-08-06  8:21 ` Martin Jansa
@ 2014-08-06 14:20   ` Paul Gortmaker
  2014-08-06 14:42     ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2014-08-06 14:20 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

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?

Thanks,
Paul.
--

> 
>> Signed-off-by: Paul Gortmaker <paul.gortmaker@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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] util-linux: create an all encompassing package group
  2014-08-06 14:20   ` Paul Gortmaker
@ 2014-08-06 14:42     ` Martin Jansa
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2014-08-06 14:42 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3810 bytes --]

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@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@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> > 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-06 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 17:26 [PATCH] util-linux: create an all encompassing package group Paul Gortmaker
2014-08-06  8:21 ` Martin Jansa
2014-08-06 14:20   ` Paul Gortmaker
2014-08-06 14:42     ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.