diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-06-10 14:49:50 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-06-10 14:49:50 +0100 |
commit | eb3c93f40121299d9ab83fee810c43f802900fd6 (patch) | |
tree | 8fb465d2ec93b4a7d11565637c6712c1070abaab /meta/classes/rootfs_ipk.bbclass | |
parent | 12a9dea24129ecac8b029b6b8512882f603d690b (diff) | |
download | poky-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.bbclass | 2 |
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 | ||
117 | remove_packaging_data_files() { | 117 | remove_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 | ||
121 | install_all_locales() { | 123 | install_all_locales() { |