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:
parent
12a9dea241
commit
eb3c93f401
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue