summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
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/rootfs_ipk.bbclass
parent12a9dea24129ecac8b029b6b8512882f603d690b (diff)
downloadpoky-eb3c93f40121299d9ab83fee810c43f802900fd6.tar.gz
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/rootfs_ipk.bbclass')
-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() {
116 116
117remove_packaging_data_files() { 117remove_packaging_data_files() {
118 rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/ 118 rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/
119 # We need the directory for the package manager lock
120 mkdir ${IMAGE_ROOTFS}/usr/lib/opkg
119} 121}
120 122
121install_all_locales() { 123install_all_locales() {