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 | |
parent | 12a9dea24129ecac8b029b6b8512882f603d690b (diff) | |
download | openembedded-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.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() { 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() { |