summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-29 10:50:33 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-29 10:50:33 +0000
commitb7880fab82a400ff098fbde643fe1b2913d83330 (patch)
tree1a93f1abf0d19c51059c2563d3293bcf60baacc8 /meta
parent0d3763a75ed5fd4c9ce0cc112d43b8283bd91e81 (diff)
downloadopenembedded-core-b7880fab82a400ff098fbde643fe1b2913d83330.tar.gz
openembedded-core-b7880fab82a400ff098fbde643fe1b2913d83330.tar.bz2
openembedded-core-b7880fab82a400ff098fbde643fe1b2913d83330.tar.xz
openembedded-core-b7880fab82a400ff098fbde643fe1b2913d83330.zip
package_deb.bbclass: dpkg-deb needs to run under fakeroot to set ownership correcting in resulting packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@975 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index f346fceb8..9697426d5 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -220,7 +220,7 @@ python do_package_deb () {
conffiles.close()
os.chdir(basedir)
- ret = os.system("PATH=\"%s\" dpkg-deb -b %s %s" % (bb.data.getVar("PATH", localdata, 1), root, pkgoutdir))
+ ret = os.system("PATH=\"%s\" fakeroot dpkg-deb -b %s %s" % (bb.data.getVar("PATH", localdata, 1), root, pkgoutdir))
if ret != 0:
raise bb.build.FuncFailed("dpkg-deb execution failed")