[oe-commits] Richard Purdie : package_ipk: Ensure the status file exists
git at git.openembedded.org
git at git.openembedded.org
Thu Apr 18 20:09:00 UTC 2013
Module: openembedded-core.git
Branch: dylan
Commit: 540cf355599e555615ed9684c3b480463588eb78
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=540cf355599e555615ed9684c3b480463588eb78
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Apr 18 13:29:33 2013 +0000
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 <richard.purdie at linuxfoundation.org>
---
meta/classes/package_ipk.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index d003ae7..5873f71 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}"
More information about the Openembedded-commits
mailing list