summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-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 f346fceb82..9697426d5d 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -220,7 +220,7 @@ python do_package_deb () {
220 conffiles.close() 220 conffiles.close()
221 221
222 os.chdir(basedir) 222 os.chdir(basedir)
223 ret = os.system("PATH=\"%s\" dpkg-deb -b %s %s" % (bb.data.getVar("PATH", localdata, 1), root, pkgoutdir)) 223 ret = os.system("PATH=\"%s\" fakeroot dpkg-deb -b %s %s" % (bb.data.getVar("PATH", localdata, 1), root, pkgoutdir))
224 if ret != 0: 224 if ret != 0:
225 raise bb.build.FuncFailed("dpkg-deb execution failed") 225 raise bb.build.FuncFailed("dpkg-deb execution failed")
226 226