* [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe
@ 2016-01-14 8:19 Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 1/4] debootstrap: fix host-user-contaminated Yi Zhao
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Yi Zhao @ 2016-01-14 8:19 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit 73af5c278f6617149a46b2d2a1549bc154fa79e5:
mime-construct: Perform more mangling for perl path (2016-01-06 13:27:21 +0100)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib yzhao/4-fixes
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/4-fixes
Yi Zhao (4):
debootstrap: fix host-user-contaminated
espeak: fix host-user-contaminated
orrery: fix host-user-contaminated
logwatch: fix host-user-contaminated
.../debootstrap/debootstrap_1.0.67.bb | 1 +
.../recipes-extended/logwatch/logwatch_7.4.1.bb | 1 +
meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 1 +
meta-oe/recipes-support/espeak/espeak_1.37.bb | 1 +
4 files changed, 4 insertions(+)
--
1.7.9.5
^ permalink raw reply [flat|nested] 7+ messages in thread
* [meta-oe][PATCH 1/4] debootstrap: fix host-user-contaminated
2016-01-14 8:19 [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Yi Zhao
@ 2016-01-14 8:19 ` Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 2/4] espeak: " Yi Zhao
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-01-14 8:19 UTC (permalink / raw)
To: openembedded-devel
Fix QA warning:
WARNING: QA Issue: debootstrap: /debootstrap/usr/share/debootstrap/scripts/gutsy is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
.../debootstrap/debootstrap_1.0.67.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb
index 73dea9b..62b2796 100644
--- a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb
+++ b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb
@@ -31,4 +31,5 @@ do_compile_prepend() {
do_install() {
oe_runmake 'DESTDIR=${D}' install
+ chown -R root:root ${D}${datadir}/debootstrap
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-oe][PATCH 2/4] espeak: fix host-user-contaminated
2016-01-14 8:19 [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 1/4] debootstrap: fix host-user-contaminated Yi Zhao
@ 2016-01-14 8:19 ` Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 3/4] orrery: " Yi Zhao
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-01-14 8:19 UTC (permalink / raw)
To: openembedded-devel
Fix QA warning:
WARNING: QA Issue: espeak: /espeak/usr/share/espeak-data/mbrola_ph/de6_phtrans is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
meta-oe/recipes-support/espeak/espeak_1.37.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-support/espeak/espeak_1.37.bb b/meta-oe/recipes-support/espeak/espeak_1.37.bb
index 86f2c7a..cf05d26 100644
--- a/meta-oe/recipes-support/espeak/espeak_1.37.bb
+++ b/meta-oe/recipes-support/espeak/espeak_1.37.bb
@@ -40,4 +40,5 @@ do_install() {
fi
cp -prf ${S}/espeak-data/* ${D}${datadir}/espeak-data
+ chown -R root:root ${D}${datadir}/espeak-data
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-oe][PATCH 3/4] orrery: fix host-user-contaminated
2016-01-14 8:19 [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 1/4] debootstrap: fix host-user-contaminated Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 2/4] espeak: " Yi Zhao
@ 2016-01-14 8:19 ` Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 4/4] logwatch: " Yi Zhao
2016-01-14 10:21 ` [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Mike Looijmans
4 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-01-14 8:19 UTC (permalink / raw)
To: openembedded-devel
Fix QA warning:
WARNING: QA Issue: orrery: /orrery/usr/share/orrery/deepSky/messier is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
index b3372b1..617afbc 100644
--- a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
+++ b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
@@ -24,6 +24,7 @@ do_configure_prepend() {
do_install_append() {
install -d ${D}${datadir}/orrery
cp -a ${S}/data/* ${D}${datadir}/orrery
+ chown -R root:root ${D}${datadir}/orrery
install -d ${D}${datadir}/icons
install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-oe][PATCH 4/4] logwatch: fix host-user-contaminated
2016-01-14 8:19 [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Yi Zhao
` (2 preceding siblings ...)
2016-01-14 8:19 ` [meta-oe][PATCH 3/4] orrery: " Yi Zhao
@ 2016-01-14 8:19 ` Yi Zhao
2016-01-14 10:21 ` [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Mike Looijmans
4 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-01-14 8:19 UTC (permalink / raw)
To: openembedded-devel
Fix QA warning:
WARNING: QA Issue: logwatch: /logwatch/usr/share/logwatch/scripts/services/resolver is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
.../recipes-extended/logwatch/logwatch_7.4.1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
index 001b3de..b121522 100644
--- a/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
+++ b/meta-oe/recipes-extended/logwatch/logwatch_7.4.1.bb
@@ -23,6 +23,7 @@ do_install() {
mv conf/ ${D}${datadir}/logwatch/default.conf
mv scripts/ ${D}${datadir}/logwatch/scripts
mv lib ${D}${datadir}/logwatch/lib
+ chown -R root:root ${D}${datadir}/logwatch
install -m 0755 -d ${D}${mandir}/man1
install -m 0755 -d ${D}${mandir}/man5
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe
2016-01-14 8:19 [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Yi Zhao
` (3 preceding siblings ...)
2016-01-14 8:19 ` [meta-oe][PATCH 4/4] logwatch: " Yi Zhao
@ 2016-01-14 10:21 ` Mike Looijmans
2016-01-15 7:19 ` Yi Zhao
4 siblings, 1 reply; 7+ messages in thread
From: Mike Looijmans @ 2016-01-14 10:21 UTC (permalink / raw)
To: openembedded-devel
Instead of patching things up with chown, you could also instruct the "cp"
command to not attempt to preserve ownership (the -a and -p options will do that).
Instead of "cp -r -p ..." use "cp -r --preserve=mode,links ..."
Instead of "cp -a ..." use "cp -R --no-dereference --preserve=mode,links ..."
This fixes these QA warnings in a more structured way.
On 14-01-16 09:19, Yi Zhao wrote:
>
> The following changes since commit 73af5c278f6617149a46b2d2a1549bc154fa79e5:
>
> mime-construct: Perform more mangling for perl path (2016-01-06 13:27:21 +0100)
>
> are available in the git repository at:
>
> git://git.openembedded.org/meta-openembedded-contrib yzhao/4-fixes
> http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/4-fixes
>
> Yi Zhao (4):
> debootstrap: fix host-user-contaminated
> espeak: fix host-user-contaminated
> orrery: fix host-user-contaminated
> logwatch: fix host-user-contaminated
>
> .../debootstrap/debootstrap_1.0.67.bb | 1 +
> .../recipes-extended/logwatch/logwatch_7.4.1.bb | 1 +
> meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 1 +
> meta-oe/recipes-support/espeak/espeak_1.37.bb | 1 +
> 4 files changed, 4 insertions(+)
>
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe
2016-01-14 10:21 ` [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Mike Looijmans
@ 2016-01-15 7:19 ` Yi Zhao
0 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-01-15 7:19 UTC (permalink / raw)
To: openembedded-devel
在 2016年01月14日 18:21, Mike Looijmans 写道:
> Instead of patching things up with chown, you could also instruct the
> "cp" command to not attempt to preserve ownership (the -a and -p
> options will do that).
>
> Instead of "cp -r -p ..." use "cp -r --preserve=mode,links ..."
>
> Instead of "cp -a ..." use "cp -R --no-dereference
> --preserve=mode,links ..."
>
> This fixes these QA warnings in a more structured way.
>
Thanks, Mike
I will send V2 patch.
Yi
>
> On 14-01-16 09:19, Yi Zhao wrote:
>>
>> The following changes since commit
>> 73af5c278f6617149a46b2d2a1549bc154fa79e5:
>>
>> mime-construct: Perform more mangling for perl path (2016-01-06
>> 13:27:21 +0100)
>>
>> are available in the git repository at:
>>
>> git://git.openembedded.org/meta-openembedded-contrib yzhao/4-fixes
>> http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/4-fixes
>>
>> Yi Zhao (4):
>> debootstrap: fix host-user-contaminated
>> espeak: fix host-user-contaminated
>> orrery: fix host-user-contaminated
>> logwatch: fix host-user-contaminated
>>
>> .../debootstrap/debootstrap_1.0.67.bb | 1 +
>> .../recipes-extended/logwatch/logwatch_7.4.1.bb | 1 +
>> meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 1 +
>> meta-oe/recipes-support/espeak/espeak_1.37.bb | 1 +
>> 4 files changed, 4 insertions(+)
>>
>
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Embedded Products
> Eindhovenseweg 32-C, NL-5683 KH Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79
> E-mail: mike.looijmans@topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-01-15 7:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-14 8:19 [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 1/4] debootstrap: fix host-user-contaminated Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 2/4] espeak: " Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 3/4] orrery: " Yi Zhao
2016-01-14 8:19 ` [meta-oe][PATCH 4/4] logwatch: " Yi Zhao
2016-01-14 10:21 ` [meta-oe][PATCH 0/4] host-user-contaminated fixes for meta-oe Mike Looijmans
2016-01-15 7:19 ` Yi Zhao
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.