]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_ipk: Ensure the status file exists
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Apr 2013 13:29:33 +0000 (13:29 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Apr 2013 14:30:59 +0000 (15:30 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/classes/package_ipk.bbclass

index d003ae7e81165a0569f3726e800f6c4d36c3b616..5873f712056d951bf47574c04c171110e6295a72 100644 (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}"