diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-21 23:17:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-22 10:40:02 +0000 |
commit | 148df1e45fc8a6025903f897ac68f91eda444008 (patch) | |
tree | c56b0ff8e4ef5ab11475baa9d1f26bd38cd99a80 | |
parent | ac476b6aabca19b56ec7f0f79866decba8404e0b (diff) | |
download | poky-148df1e45fc8a6025903f897ac68f91eda444008.tar.gz |
lib/oe/package_manager/sdk: Ensure do_populate_sdk_ext and do_populate_sdk repos don't conflict
(From OE-Core rev: c9c0927bb6e71253cbdd5b6b780dca829526e1d8)
(From OE-Core rev: 04610f713e47cd5fc9e44e258589cb24f27bf1bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index f79fca608e..09f40395a7 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -12,6 +12,7 @@ do_rootfs[vardeps] += "PACKAGE_FEED_URIS" | |||
12 | 12 | ||
13 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | 13 | do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" |
14 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | 14 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" |
15 | do_populate_sdk_ext[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
15 | 16 | ||
16 | python rootfs_deb_bad_recommendations() { | 17 | python rootfs_deb_bad_recommendations() { |
17 | if d.getVar("BAD_RECOMMENDATIONS", True): | 18 | if d.getVar("BAD_RECOMMENDATIONS", True): |
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index d5c38fef74..0252ba2d8c 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -16,6 +16,7 @@ do_rootfs[vardeps] += "PACKAGE_FEED_URIS" | |||
16 | 16 | ||
17 | do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" | 17 | do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" |
18 | do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock" | 18 | do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock" |
19 | do_populate_sdk_ext[lockfiles] += "${WORKDIR}/ipk.lock" | ||
19 | 20 | ||
20 | OPKG_PREPROCESS_COMMANDS = "" | 21 | OPKG_PREPROCESS_COMMANDS = "" |
21 | 22 | ||
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 37730a7104..61ad766538 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -24,6 +24,10 @@ do_populate_sdk[depends] += "${RPMROOTFSDEPENDS}" | |||
24 | do_rootfs[recrdeptask] += "do_package_write_rpm" | 24 | do_rootfs[recrdeptask] += "do_package_write_rpm" |
25 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS" | 25 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS" |
26 | 26 | ||
27 | do_rootfs[lockfiles] += "${WORKDIR}/rpm.lock" | ||
28 | do_populate_sdk[lockfiles] += "${WORKDIR}/rpm.lock" | ||
29 | do_populate_sdk_ext[lockfiles] += "${WORKDIR}/rpm.lock" | ||
30 | |||
27 | python () { | 31 | python () { |
28 | if d.getVar('BUILD_IMAGES_FROM_FEEDS', True): | 32 | if d.getVar('BUILD_IMAGES_FROM_FEEDS', True): |
29 | flags = d.getVarFlag('do_rootfs', 'recrdeptask', True) | 33 | flags = d.getVarFlag('do_rootfs', 'recrdeptask', True) |