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.

(From OE-Core rev: 540cf355599e555615ed9684c3b480463588eb78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie committed 2013-04-18 21:12:23 +01:00
1 parent 701c3ce3c6
commit cbccd7974d
1 file changed
+1
+1
View File
@@ -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}"