summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-11-28 17:13:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-28 15:18:24 +0000
commitdfadfaa0b38678029ffebe14f15e2dbc148cb1fb (patch)
tree36098150c734b2b6aae7718965bb91deae42ae13 /meta/classes/rootfs_ipk.bbclass
parentbdce08215396e5ab99ada5fa0f62c3b002a44582 (diff)
downloadopenembedded-core-dfadfaa0b38678029ffebe14f15e2dbc148cb1fb.tar.gz
openembedded-core-dfadfaa0b38678029ffebe14f15e2dbc148cb1fb.tar.bz2
openembedded-core-dfadfaa0b38678029ffebe14f15e2dbc148cb1fb.zip
rootfs_ipk.bbclass: add missing --force_postinstall option
The force_postinstall option was missing and some packages were configured on target rather than on host at rootfs time. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> 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 f69cc0e5ad..d5792e54f7 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -14,9 +14,9 @@ do_rootfs[recrdeptask] += "do_package_write_ipk"
do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock"
-IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force-overwrite --prefer-arch-to-version"
+IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force-overwrite --force_postinstall --prefer-arch-to-version"
# The _POST version also works when constructing the matching SDK
-IPKG_ARGS_POST = "-f ${IPKGCONF_TARGET} -o $INSTALL_ROOTFS_IPK --force-overwrite --prefer-arch-to-version"
+IPKG_ARGS_POST = "-f ${IPKGCONF_TARGET} -o $INSTALL_ROOTFS_IPK --force-overwrite --force_postinstall --prefer-arch-to-version"
OPKG_PREPROCESS_COMMANDS = "package_update_index_ipk; package_generate_ipkg_conf"