* [meta-baryon][PATCH 0/3] respect EXTRA_IMAGE_FEATURES
@ 2012-11-19 20:18 Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11 Kevin Strasser
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Kevin Strasser @ 2012-11-19 20:18 UTC (permalink / raw)
To: yocto
Changes introduced by this patchset:
* change the IMAGE_FEATURES assignment in baryon-image to append,
allowing the EXTRA_IMAGE_FEATUES variable to actually have an affect
on the final image.
* trimmed down the profile and testapps packagegroup features so they
can be pulled in without needing to build x11.
* util-linux has been swapped out for parted to get around the reset
command conflict.
The following changes since commit ad1dfa139195f39a72b8e0fb47de5c3339397b8b:
proftpd: add initscript and tidy up recipe (2012-10-28 01:47:32 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib strassek/baryon-image-features
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=strassek/baryon-image-features
Kevin Strasser (3):
packagegroup-core-tools: exclude packages that depend on x11
baryon-image: use parted instead of util-linux
baryon-image: change IMAGE_FEATURES assignment to "+="
.../packagegroup-core-tools-profile.bbappend | 15 +++++++++++++++
.../packagegroup-core-tools-testapps.bbappend | 12 ++++++++++++
recipes-extended/images/baryon-image.bb | 4 ++--
3 files changed, 29 insertions(+), 2 deletions(-)
create mode 100644 recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
create mode 100644 recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
--
1.7.9.5
^ permalink raw reply [flat|nested] 7+ messages in thread
* [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11
2012-11-19 20:18 [meta-baryon][PATCH 0/3] respect EXTRA_IMAGE_FEATURES Kevin Strasser
@ 2012-11-19 20:20 ` Kevin Strasser
2012-11-20 14:39 ` Paul Eggleton
2012-11-19 20:20 ` [meta-baryon][PATCH 2/3] baryon-image: use parted instead of util-linux Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 3/3] baryon-image: change IMAGE_FEATURES assignment to "+=" Kevin Strasser
2 siblings, 1 reply; 7+ messages in thread
From: Kevin Strasser @ 2012-11-19 20:20 UTC (permalink / raw)
To: yocto
Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
---
.../packagegroup-core-tools-profile.bbappend | 15 +++++++++++++++
.../packagegroup-core-tools-testapps.bbappend | 12 ++++++++++++
2 files changed, 27 insertions(+)
create mode 100644 recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
create mode 100644 recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
diff --git a/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
new file mode 100644
index 0000000..0d13a45
--- /dev/null
+++ b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
@@ -0,0 +1,15 @@
+# Only include packages that are useful on a headless device
+
+PROFILETOOLS = " \
+ oprofile \
+ oprofileui-server \
+ powertop \
+ lttng-control \
+ "
+
+RRECOMMENDS_${PN} = " \
+ perf \
+ trace-cmd \
+ kernel-module-oprofile \
+ blktrace \
+ "
diff --git a/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
new file mode 100644
index 0000000..86c7eb5
--- /dev/null
+++ b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
@@ -0,0 +1,12 @@
+# Only include packages that are useful on a headless device
+
+RDEPENDS_${PN} = " \
+ blktool \
+ tslib-calibrate \
+ tslib-tests \
+ lrzsz \
+ ${KEXECTOOLS} \
+ alsa-utils-amixer \
+ alsa-utils-aplay \
+ ltp \
+ "
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-baryon][PATCH 2/3] baryon-image: use parted instead of util-linux
2012-11-19 20:18 [meta-baryon][PATCH 0/3] respect EXTRA_IMAGE_FEATURES Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11 Kevin Strasser
@ 2012-11-19 20:20 ` Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 3/3] baryon-image: change IMAGE_FEATURES assignment to "+=" Kevin Strasser
2 siblings, 0 replies; 7+ messages in thread
From: Kevin Strasser @ 2012-11-19 20:20 UTC (permalink / raw)
To: yocto
util-linux replaces the 'reset' command provided by busybox with
a script that uses 'tset', which fails because it isn't installed.
Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
---
recipes-extended/images/baryon-image.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-extended/images/baryon-image.bb b/recipes-extended/images/baryon-image.bb
index 56b160c..656fdba 100644
--- a/recipes-extended/images/baryon-image.bb
+++ b/recipes-extended/images/baryon-image.bb
@@ -2,7 +2,7 @@ IMAGE_FEATURES = "nfs-server package-management ssh-server-dropbear debug-tweaks
inherit core-image
-IMAGE_INSTALL += "samba procps mdadm e2fsprogs-mke2fs util-linux \
+IMAGE_INSTALL += "samba procps mdadm e2fsprogs-mke2fs parted \
webmin \
webmin-module-status \
webmin-module-proc \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-baryon][PATCH 3/3] baryon-image: change IMAGE_FEATURES assignment to "+="
2012-11-19 20:18 [meta-baryon][PATCH 0/3] respect EXTRA_IMAGE_FEATURES Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11 Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 2/3] baryon-image: use parted instead of util-linux Kevin Strasser
@ 2012-11-19 20:20 ` Kevin Strasser
2 siblings, 0 replies; 7+ messages in thread
From: Kevin Strasser @ 2012-11-19 20:20 UTC (permalink / raw)
To: yocto
this will allow EXTRA_IMAGE_FEATURES to have an affect on the image.
Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
---
recipes-extended/images/baryon-image.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-extended/images/baryon-image.bb b/recipes-extended/images/baryon-image.bb
index 656fdba..d5fd8a5 100644
--- a/recipes-extended/images/baryon-image.bb
+++ b/recipes-extended/images/baryon-image.bb
@@ -1,4 +1,4 @@
-IMAGE_FEATURES = "nfs-server package-management ssh-server-dropbear debug-tweaks"
+IMAGE_FEATURES += "nfs-server package-management ssh-server-dropbear"
inherit core-image
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11
2012-11-19 20:20 ` [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11 Kevin Strasser
@ 2012-11-20 14:39 ` Paul Eggleton
2012-11-20 14:56 ` Burton, Ross
0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggleton @ 2012-11-20 14:39 UTC (permalink / raw)
To: Kevin Strasser; +Cc: yocto
On Monday 19 November 2012 12:20:27 Kevin Strasser wrote:
> Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
> ---
> .../packagegroup-core-tools-profile.bbappend | 15 +++++++++++++++
> .../packagegroup-core-tools-testapps.bbappend | 12 ++++++++++++
> 2 files changed, 27 insertions(+)
> create mode 100644
> recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend create
> mode 100644
> recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>
> diff --git
> a/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
> b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend new
> file mode 100644
> index 0000000..0d13a45
> --- /dev/null
> +++ b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
> @@ -0,0 +1,15 @@
> +# Only include packages that are useful on a headless device
> +
> +PROFILETOOLS = " \
> + oprofile \
> + oprofileui-server \
> + powertop \
> + lttng-control \
> + "
> +
> +RRECOMMENDS_${PN} = " \
> + perf \
> + trace-cmd \
> + kernel-module-oprofile \
> + blktrace \
> + "
> diff --git
> a/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
> b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend new
> file mode 100644
> index 0000000..86c7eb5
> --- /dev/null
> +++ b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
> @@ -0,0 +1,12 @@
> +# Only include packages that are useful on a headless device
> +
> +RDEPENDS_${PN} = " \
> + blktool \
> + tslib-calibrate \
> + tslib-tests \
> + lrzsz \
> + ${KEXECTOOLS} \
> + alsa-utils-amixer \
> + alsa-utils-aplay \
> + ltp \
> + "
This would work, but in this instance I think it would be better if we fixed
the packagegroup-core-tools-* recipes in OE-Core so that the items that
require X11 are only included when x11 is in DISTRO_FEATURES, rather than
making the change here.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11
2012-11-20 14:39 ` Paul Eggleton
@ 2012-11-20 14:56 ` Burton, Ross
2012-11-20 21:05 ` kevin.strasser
0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2012-11-20 14:56 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto
On 20 November 2012 14:39, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> On Monday 19 November 2012 12:20:27 Kevin Strasser wrote:
>> Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
>> ---
>> .../packagegroup-core-tools-profile.bbappend | 15 +++++++++++++++
>> .../packagegroup-core-tools-testapps.bbappend | 12 ++++++++++++
>> 2 files changed, 27 insertions(+)
>> create mode 100644
>> recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend create
>> mode 100644
>> recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>>
>> diff --git
>> a/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
>> b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend new
>> file mode 100644
>> index 0000000..0d13a45
>> --- /dev/null
>> +++ b/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
>> @@ -0,0 +1,15 @@
>> +# Only include packages that are useful on a headless device
>> +
>> +PROFILETOOLS = " \
>> + oprofile \
>> + oprofileui-server \
>> + powertop \
>> + lttng-control \
>> + "
>> +
>> +RRECOMMENDS_${PN} = " \
>> + perf \
>> + trace-cmd \
>> + kernel-module-oprofile \
>> + blktrace \
>> + "
>> diff --git
>> a/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>> b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend new
>> file mode 100644
>> index 0000000..86c7eb5
>> --- /dev/null
>> +++ b/recipes-core/packagegroups/packagegroup-core-tools-testapps.bbappend
>> @@ -0,0 +1,12 @@
>> +# Only include packages that are useful on a headless device
>> +
>> +RDEPENDS_${PN} = " \
>> + blktool \
>> + tslib-calibrate \
>> + tslib-tests \
>> + lrzsz \
>> + ${KEXECTOOLS} \
>> + alsa-utils-amixer \
>> + alsa-utils-aplay \
>> + ltp \
>> + "
>
> This would work, but in this instance I think it would be better if we fixed
> the packagegroup-core-tools-* recipes in OE-Core so that the items that
> require X11 are only included when x11 is in DISTRO_FEATURES, rather than
> making the change here.
Isn't this what Jack Mitchell's commit (poky
627fd60c8c01bbc14ad375f6aa195469eab73d86) did, which make sysprof
optional on X11?
Ross
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11
2012-11-20 14:56 ` Burton, Ross
@ 2012-11-20 21:05 ` kevin.strasser
0 siblings, 0 replies; 7+ messages in thread
From: kevin.strasser @ 2012-11-20 21:05 UTC (permalink / raw)
To: Burton, Ross; +Cc: Paul Eggleton, yocto
> On 20 November 2012 14:39, Paul Eggleton <paul.eggleton@linux.intel.com>
> wrote:
>>
>> This would work, but in this instance I think it would be better if we
>> fixed
>> the packagegroup-core-tools-* recipes in OE-Core so that the items that
>> require X11 are only included when x11 is in DISTRO_FEATURES, rather
>> than
>> making the change here.
>
> Isn't this what Jack Mitchell's commit (poky
> 627fd60c8c01bbc14ad375f6aa195469eab73d86) did, which make sysprof
> optional on X11?
>
> Ross
>
Ah, I was building against danny. That patch should fix
packagegroup-core-tools-profile, but packagegroup-core-tools-testapps
looks like it still always includes packages that depend on X11.
-Kevin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-11-20 21:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19 20:18 [meta-baryon][PATCH 0/3] respect EXTRA_IMAGE_FEATURES Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 1/3] packagegroup-core-tools: exclude packages that depend on x11 Kevin Strasser
2012-11-20 14:39 ` Paul Eggleton
2012-11-20 14:56 ` Burton, Ross
2012-11-20 21:05 ` kevin.strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 2/3] baryon-image: use parted instead of util-linux Kevin Strasser
2012-11-19 20:20 ` [meta-baryon][PATCH 3/3] baryon-image: change IMAGE_FEATURES assignment to "+=" Kevin Strasser
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.