[oe-commits] Richard Purdie : package_ipk: There is no longer any need to force owners/ groups to root

git at git.openembedded.org git at git.openembedded.org
Tue Nov 1 17:50:40 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: ea11f71432e2741d5f8c7cecec41c6155db34393
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ea11f71432e2741d5f8c7cecec41c6155db34393

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Nov  1 14:18:06 2011 +0000

package_ipk: There is no longer any need to force owners/groups to root

Since the packaging process is run under pseudo, the default user
is now root so there is no longer any need to hardcode this. Also
take this opportunity to move the variable to package_ipk.bbclass
since this is the only user of it.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/package_ipk.bbclass |    3 +++
 meta/conf/bitbake.conf           |    4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index c0893a6..c97e36e 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -7,6 +7,9 @@ IPKGCONF_SDK =  "${WORKDIR}/opkg-sdk.conf"
 
 PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
 
+# Program to be used to build opkg packages
+OPKGBUILDCMD ??= "opkg-build"
+
 python package_ipk_fn () {
 	bb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d)
 }
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d0235ba..9938a67 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -622,10 +622,6 @@ MKTEMPCMD = "mktemp -q ${TMPBASE}"
 
 export PATCH_GET="0"
 
-# Program to be used to build opkg packages
-
-OPKGBUILDCMD = "opkg-build -o 0 -g 0"
-
 ##################################################################
 # Not sure about the rest of this yet.
 ##################################################################





More information about the Openembedded-commits mailing list