diff options
author | Michael Ho <Michael.Ho@bmw.de> | 2021-01-11 13:45:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-13 23:13:45 +0000 |
commit | 2fa0b3278ca6900320795ffa61c894254531bc03 (patch) | |
tree | 53a3f05787c72f092b77d8942d412d635bb00c52 /meta/classes/rootfs_ipk.bbclass | |
parent | 39ac141eb681aabe1b05fbcdb59bd9b183ecaee5 (diff) | |
download | poky-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.bbclass | 4 |
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" | |||
14 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS" | 14 | do_rootfs[vardeps] += "PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS" |
15 | 15 | ||
16 | do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" | 16 | do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock" |
17 | do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock" | 17 | do_populate_sdk[lockfiles] += "${WORKDIR}/sdk-ipk.lock" |
18 | do_populate_sdk_ext[lockfiles] += "${WORKDIR}/ipk.lock" | 18 | do_populate_sdk_ext[lockfiles] += "${WORKDIR}/sdk-ipk.lock" |
19 | 19 | ||
20 | OPKG_PREPROCESS_COMMANDS = "" | 20 | OPKG_PREPROCESS_COMMANDS = "" |
21 | 21 | ||