summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r--meta/classes/package_ipk.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 433d0bbe88..e46a52a022 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -12,6 +12,8 @@ OPKGBUILDCMD ??= "opkg-build"
12 12
13OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version" 13OPKG_ARGS = "-f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version"
14 14
15OPKGLIBDIR = "${localstatedir}/lib"
16
15python package_ipk_fn () { 17python package_ipk_fn () {
16 d.setVar('PKGFN', d.getVar('PKG')) 18 d.setVar('PKGFN', d.getVar('PKG'))
17} 19}
@@ -138,7 +140,7 @@ package_install_internal_ipk() {
138 local package_to_install="${INSTALL_PACKAGES_NORMAL_IPK}" 140 local package_to_install="${INSTALL_PACKAGES_NORMAL_IPK}"
139 local package_multilib="${INSTALL_PACKAGES_MULTILIB_IPK}" 141 local package_multilib="${INSTALL_PACKAGES_MULTILIB_IPK}"
140 142
141 mkdir -p ${target_rootfs}${localstatedir}/lib/opkg/ 143 mkdir -p ${target_rootfs}${OPKGLIBDIR}/opkg
142 144
143 local ipkg_args="${OPKG_ARGS}" 145 local ipkg_args="${OPKG_ARGS}"
144 146