Skip to contentSkip to conversation

libvpx: fix host-user-comtaminated QA issue

PATCH New Chen Qi 1 participant 2 messages Nov 19, 2015

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/2 libvpx: fix host-user-comtaminated QA issue

Fix 'host-user-comtaminated' QA issue by using chown in do_install. Also remove the useless do_compile function.

---
 meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb +1 -4
index 5d049bb..c963a9c 100644
@@ -44,11 +44,8 @@ do_configure() {
     ${S}/configure ${CONFIGUREOPTS}
 }
 
-do_compile() {
-    oe_runmake
-}
-
 do_install() {
     oe_runmake install DESTDIR=${D}
+    chown -R root:root ${D}
 }
 
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 2/2 tipcutils: fix host-user-comtaminated QA issue

Fix the 'host-user-comtaminated' QA issue by using chown in do_install.

---
 meta-oe/recipes-extended/tipcutils/tipcutils_2.0.6.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/tipcutils/tipcutils_2.0.6.bb +1 -0
index fe0e484..046fb2c 100644
@@ -32,6 +32,7 @@ do_install_append() {
 
     install -d ${D}${sysconfdir}
     cp -a ${S}/scripts/etc/* ${D}${sysconfdir}/
+    chown -R root:root ${D}${sysconfdir}
 }
 
 PACKAGES += "${PN}-demos"
Signature · 1 line
1.9.1