* [meta-webserver][PATCH 0/1] Fix host-user-contamination QA warning for webmin
@ 2015-10-13 13:37 Anders Darander
2015-10-13 13:37 ` [meta-webserver][PATCH 1/1] webmin: fix QA host-user-contaminated Anders Darander
0 siblings, 1 reply; 2+ messages in thread
From: Anders Darander @ 2015-10-13 13:37 UTC (permalink / raw)
To: openembedded-devel; +Cc: Anders Darander
Remove QA warnings for host-user-contamination for webmin.
The following changes since commit f4533380c8a5c1d229f692222ee0c2ef9d187ef8:
dracut: install modules to /usr/lib (2015-09-23 16:10:57 +0200)
are available in the git repository at:
git://github.com/darander/meta-openembedded host-user-cont
https://github.com/darander/meta-openembedded/tree/host-user-cont
Anders Darander (1):
webmin: fix QA host-user-contaminated
meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--
2.6.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [meta-webserver][PATCH 1/1] webmin: fix QA host-user-contaminated
2015-10-13 13:37 [meta-webserver][PATCH 0/1] Fix host-user-contamination QA warning for webmin Anders Darander
@ 2015-10-13 13:37 ` Anders Darander
0 siblings, 0 replies; 2+ messages in thread
From: Anders Darander @ 2015-10-13 13:37 UTC (permalink / raw)
To: openembedded-devel; +Cc: Anders Darander
Due to the way most files were installed, using cp ..., during packaging we got spammed
with messages like:
WARNING: QA Issue: webmin: /webmin-module-fail2ban/usr/lib/webmin/webmin/fail2ban/lang/no is owned by gid 100, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
WARNING: QA Issue: webmin: /webmin-module-system-status/usr/lib/webmin/webmin/system-status/lang/no is owned by gid 100, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Do the install in a similar way as is done in bin_package.bbclass.
By doing that, we're not getting any QA-errors from host-user-contaminated.
Signed-off-by: Anders Darander <anders@chargestorm.se>
---
meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb b/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb
index b6fbb0a..ca09ecf 100644
--- a/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb
+++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.750.bb
@@ -80,7 +80,10 @@ do_install() {
install -d ${D}${localstatedir}/webmin
install -d ${D}${libexecdir}/webmin
- cp -pPR ${S}/* ${D}${libexecdir}/webmin
+ cd ${S} || exit 1
+ tar --no-same-owner --exclude='./patches' --exclude='./.pc' -cpf - . \
+ | tar --no-same-owner -xpf - -C ${D}${libexecdir}/webmin
+
rm -f ${D}${libexecdir}/webmin/webmin-init
rm -f ${D}${libexecdir}/webmin/ajaxterm/ajaxterm/configure.initd.gentoo
rm -rf ${D}${libexecdir}/webmin/patches
--
2.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-13 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 13:37 [meta-webserver][PATCH 0/1] Fix host-user-contamination QA warning for webmin Anders Darander
2015-10-13 13:37 ` [meta-webserver][PATCH 1/1] webmin: fix QA host-user-contaminated Anders Darander
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.