summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-21 23:17:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-22 10:40:02 +0000
commit148df1e45fc8a6025903f897ac68f91eda444008 (patch)
treec56b0ff8e4ef5ab11475baa9d1f26bd38cd99a80
parentac476b6aabca19b56ec7f0f79866decba8404e0b (diff)
downloadpoky-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.bbclass1
-rw-r--r--meta/classes/rootfs_ipk.bbclass1
-rw-r--r--meta/classes/rootfs_rpm.bbclass4
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
13do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" 13do_rootfs[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
14do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" 14do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
15do_populate_sdk_ext[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
15 16
16python rootfs_deb_bad_recommendations() { 17python 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
17do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" 17do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock"
18do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock" 18do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock"
19do_populate_sdk_ext[lockfiles] += "${WORKDIR}/ipk.lock"
19 20
20OPKG_PREPROCESS_COMMANDS = "" 21OPKG_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}"
24do_rootfs[recrdeptask] += "do_package_write_rpm" 24do_rootfs[recrdeptask] += "do_package_write_rpm"
25do_rootfs[vardeps] += "PACKAGE_FEED_URIS" 25do_rootfs[vardeps] += "PACKAGE_FEED_URIS"
26 26
27do_rootfs[lockfiles] += "${WORKDIR}/rpm.lock"
28do_populate_sdk[lockfiles] += "${WORKDIR}/rpm.lock"
29do_populate_sdk_ext[lockfiles] += "${WORKDIR}/rpm.lock"
30
27python () { 31python () {
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)