mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
webmin: fix QA host-user-contaminated
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
796f9ba6a6
commit
55fb2d1b25
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user