mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user