From: Richard Purdie Date: Thu, 18 Apr 2013 13:29:33 +0000 (+0000) Subject: package_ipk: Ensure the status file exists X-Git-Tag: yocto-4.0~33161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=540cf355599e555615ed9684c3b480463588eb78;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git package_ipk: Ensure the status file exists The postinstall for the opkg run-postinst hook checks for the existence of this file. We therefore ensure it always exists during image generation. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index d003ae7e811..5873f712056 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -85,6 +85,7 @@ package_install_internal_ipk() { local package_multilib="${INSTALL_PACKAGES_MULTILIB_IPK}" mkdir -p ${target_rootfs}${OPKGLIBDIR}/opkg + touch ${target_rootfs}${OPKGLIBDIR}/opkg/status local ipkg_args="${OPKG_ARGS}"