summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-06-10 14:49:50 +0100
committerJoshua Lock <josh@linux.intel.com>2010-06-10 14:49:50 +0100
commiteb3c93f40121299d9ab83fee810c43f802900fd6 (patch)
tree8fb465d2ec93b4a7d11565637c6712c1070abaab /meta/classes
parent12a9dea24129ecac8b029b6b8512882f603d690b (diff)
downloadopenembedded-core-eb3c93f40121299d9ab83fee810c43f802900fd6.tar.gz
openembedded-core-eb3c93f40121299d9ab83fee810c43f802900fd6.tar.bz2
openembedded-core-eb3c93f40121299d9ab83fee810c43f802900fd6.zip
rootfs_ipk.bbclass: ensure the package manager can create lock files
The opkg package manager uses /usr/lib/opkg to store lock files in, modify the remove_package_data_files() function to create an empty directory once the data files are removed so that the lock can be created. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index ea1d6ba432..fa0764baf7 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -116,6 +116,8 @@ rootfs_ipk_write_manifest() {
remove_packaging_data_files() {
rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/
+ # We need the directory for the package manager lock
+ mkdir ${IMAGE_ROOTFS}/usr/lib/opkg
}
install_all_locales() {