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>
This commit is contained in:
Joshua Lock 2010-06-10 14:49:50 +01:00
parent 12a9dea241
commit eb3c93f401
1 changed files with 2 additions and 0 deletions

View File

@ -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() {