diff options
-rw-r--r-- | meta/classes/package_ipk.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 4 | ||||
-rw-r--r-- | meta/lib/oe/package_manager/ipk/sdk.py | 6 |
3 files changed, 9 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 79cb36c513..d31dba0c8f 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -4,6 +4,7 @@ IMAGE_PKGTYPE ?= "ipk" | |||
4 | 4 | ||
5 | IPKGCONF_TARGET = "${WORKDIR}/opkg.conf" | 5 | IPKGCONF_TARGET = "${WORKDIR}/opkg.conf" |
6 | IPKGCONF_SDK = "${WORKDIR}/opkg-sdk.conf" | 6 | IPKGCONF_SDK = "${WORKDIR}/opkg-sdk.conf" |
7 | IPKGCONF_SDK_TARGET = "${WORKDIR}/opkg-sdk-target.conf" | ||
7 | 8 | ||
8 | PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks" | 9 | PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks" |
9 | 10 | ||
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 | ||
diff --git a/meta/lib/oe/package_manager/ipk/sdk.py b/meta/lib/oe/package_manager/ipk/sdk.py index 37af0344eb..e2ca415c8e 100644 --- a/meta/lib/oe/package_manager/ipk/sdk.py +++ b/meta/lib/oe/package_manager/ipk/sdk.py | |||
@@ -14,6 +14,12 @@ class PkgSdk(Sdk): | |||
14 | def __init__(self, d, manifest_dir=None): | 14 | def __init__(self, d, manifest_dir=None): |
15 | super(PkgSdk, self).__init__(d, manifest_dir) | 15 | super(PkgSdk, self).__init__(d, manifest_dir) |
16 | 16 | ||
17 | # In sdk_list_installed_packages the call to opkg is hardcoded to | ||
18 | # always use IPKGCONF_TARGET and there's no exposed API to change this | ||
19 | # so simply override IPKGCONF_TARGET to use this separated config file. | ||
20 | ipkgconf_sdk_target = d.getVar("IPKGCONF_SDK_TARGET") | ||
21 | d.setVar("IPKGCONF_TARGET", ipkgconf_sdk_target) | ||
22 | |||
17 | self.target_conf = self.d.getVar("IPKGCONF_TARGET") | 23 | self.target_conf = self.d.getVar("IPKGCONF_TARGET") |
18 | self.host_conf = self.d.getVar("IPKGCONF_SDK") | 24 | self.host_conf = self.d.getVar("IPKGCONF_SDK") |
19 | 25 | ||