diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-16 16:40:52 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-19 22:36:26 +0100 |
commit | 3c539be84cbd4d1a5f07ebef22944f9807831874 (patch) | |
tree | b9103087fbb86a709d8f710d321e0715672581ed /meta | |
parent | 6739a629e96a93c037e4d863e7f842a317c0c571 (diff) | |
download | poky-3c539be84cbd4d1a5f07ebef22944f9807831874.tar.gz |
package_*.bbclass: Always run these tasks under fakeroot
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_deb.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/package_ipk.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/package_rpm.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/package_tar.bbclass | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index d923ad1073..a06896257c 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -268,6 +268,7 @@ python () { | |||
268 | deps.append('dpkg-native:do_populate_sysroot') | 268 | deps.append('dpkg-native:do_populate_sysroot') |
269 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 269 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
270 | bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d) | 270 | bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d) |
271 | bb.data.setVarFlag('do_package_write_ipk', 'fakeroot', "1", d) | ||
271 | } | 272 | } |
272 | 273 | ||
273 | python do_package_write_deb () { | 274 | python do_package_write_deb () { |
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 2a93bd1a7c..dfb7b98b85 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -316,6 +316,7 @@ python () { | |||
316 | deps.append('opkg-utils-native:do_populate_sysroot') | 316 | deps.append('opkg-utils-native:do_populate_sysroot') |
317 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 317 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
318 | bb.data.setVarFlag('do_package_write_ipk', 'depends', " ".join(deps), d) | 318 | bb.data.setVarFlag('do_package_write_ipk', 'depends', " ".join(deps), d) |
319 | bb.data.setVarFlag('do_package_write_ipk', 'fakeroot', "1", d) | ||
319 | } | 320 | } |
320 | 321 | ||
321 | python do_package_write_ipk () { | 322 | python do_package_write_ipk () { |
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 273a7d44ed..d069182a3f 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -206,6 +206,7 @@ python () { | |||
206 | deps.append('rpm-native:do_populate_sysroot') | 206 | deps.append('rpm-native:do_populate_sysroot') |
207 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 207 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
208 | bb.data.setVarFlag('do_package_write_rpm', 'depends', " ".join(deps), d) | 208 | bb.data.setVarFlag('do_package_write_rpm', 'depends', " ".join(deps), d) |
209 | bb.data.setVarFlag('do_package_write_ipk', 'fakeroot', "1", d) | ||
209 | } | 210 | } |
210 | 211 | ||
211 | SSTATETASKS += "do_package_write_rpm" | 212 | SSTATETASKS += "do_package_write_rpm" |
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass index ea72d4d531..e546eb7fd8 100644 --- a/meta/classes/package_tar.bbclass +++ b/meta/classes/package_tar.bbclass | |||
@@ -96,6 +96,7 @@ python () { | |||
96 | deps.append('tar-native:do_populate_sysroot') | 96 | deps.append('tar-native:do_populate_sysroot') |
97 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 97 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
98 | bb.data.setVarFlag('do_package_write_tar', 'depends', " ".join(deps), d) | 98 | bb.data.setVarFlag('do_package_write_tar', 'depends', " ".join(deps), d) |
99 | bb.data.setVarFlag('do_package_write_ipk', 'fakeroot', "1", d) | ||
99 | } | 100 | } |
100 | 101 | ||
101 | 102 | ||