diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-14 14:32:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:21:46 +0100 |
commit | 2501287c69c67579f86b75839a410e5808f528dc (patch) | |
tree | caaae6c93a7abe4005c868eb90dff48671c8d20d /meta/classes/rootfs_deb.bbclass | |
parent | e6837f785c7f6363697ca9a2d80df006d420ce92 (diff) | |
download | poky-2501287c69c67579f86b75839a410e5808f528dc.tar.gz |
rootfs_*: Refactor common depends/lockfile task flags
(From OE-Core rev: 96427656ef73bb50753a33ec6ad5e73de711ceb3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 5add7a8a5f..d51b4582d2 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -6,11 +6,13 @@ ROOTFS_PKGMANAGE = "dpkg apt" | |||
6 | ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" | 6 | ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" |
7 | 7 | ||
8 | do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" | 8 | do_rootfs[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot" |
9 | do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot" | ||
9 | do_rootfs[recrdeptask] += "do_package_write_deb" | 10 | do_rootfs[recrdeptask] += "do_package_write_deb" |
10 | rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME" | 11 | rootfs_deb_do_rootfs[vardepsexclude] += "BUILDNAME" |
11 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS" | 12 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS" |
12 | 13 | ||
13 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | 14 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" |
15 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
14 | 16 | ||
15 | python rootfs_deb_bad_recommendations() { | 17 | python rootfs_deb_bad_recommendations() { |
16 | if d.getVar("BAD_RECOMMENDATIONS", True): | 18 | if d.getVar("BAD_RECOMMENDATIONS", True): |
@@ -22,8 +24,6 @@ DEB_POSTPROCESS_COMMANDS = "" | |||
22 | 24 | ||
23 | opkglibdir = "${localstatedir}/lib/opkg" | 25 | opkglibdir = "${localstatedir}/lib/opkg" |
24 | 26 | ||
25 | do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot" | ||
26 | |||
27 | python () { | 27 | python () { |
28 | # Map TARGET_ARCH to Debian's ideas about architectures | 28 | # Map TARGET_ARCH to Debian's ideas about architectures |
29 | darch = d.getVar('SDK_ARCH', True) | 29 | darch = d.getVar('SDK_ARCH', True) |
@@ -35,8 +35,5 @@ python () { | |||
35 | d.setVar('DEB_SDK_ARCH', 'armel') | 35 | d.setVar('DEB_SDK_ARCH', 'armel') |
36 | } | 36 | } |
37 | 37 | ||
38 | |||
39 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
40 | |||
41 | # This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called | 38 | # This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called |
42 | DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg" | 39 | DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg" |