summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorMichael Ho <Michael.Ho@bmw.de>2021-01-11 13:45:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-13 23:13:45 +0000
commit2fa0b3278ca6900320795ffa61c894254531bc03 (patch)
tree53a3f05787c72f092b77d8942d412d635bb00c52 /meta/classes/rootfs_ipk.bbclass
parent39ac141eb681aabe1b05fbcdb59bd9b183ecaee5 (diff)
downloadpoky-2fa0b3278ca6900320795ffa61c894254531bc03.tar.gz
rootfs_ipk: allow do_populate_sdk in parallel to do_rootfs
Switch do_populate_sdk for the ipk package manager to use a separate target opkg config file and separate the lockfiles restricting do_rootfs and do_populate_sdk from running in parallel. This way if an image recipe includes a dependency to do_populate_sdk by default then it will run in parallel to do_rootfs saving time compared to the sequential execution. (From OE-Core rev: 8c210407d07483075a70c8b97ad52b5eae062c9c) Signed-off-by: Michael Ho <Michael.Ho@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index f1e0219732..245c256a6f 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -14,8 +14,8 @@ do_rootfs[recrdeptask] += "do_package_write_ipk do_package_qa"
14do_rootfs[vardeps] += "PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS" 14do_rootfs[vardeps] += "PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS"
15 15
16do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" 16do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock"
17do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock" 17do_populate_sdk[lockfiles] += "${WORKDIR}/sdk-ipk.lock"
18do_populate_sdk_ext[lockfiles] += "${WORKDIR}/ipk.lock" 18do_populate_sdk_ext[lockfiles] += "${WORKDIR}/sdk-ipk.lock"
19 19
20OPKG_PREPROCESS_COMMANDS = "" 20OPKG_PREPROCESS_COMMANDS = ""
21 21