From 748005230cf64a263cabfde368c9ebc443496ff5 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Sun, 21 Oct 2012 18:40:42 +0300 Subject: [PATCH] rootfs_ipk.bbclass: Don't duplicate remove_packaging_data_files code While removing packaging data files in rootfs_ipk_do_rootfs use the remove_packaging_data_files function. By using this function we ensure that /var/lib/opkg directory is created. opkg needs this directory to create lock files. (From OE-Core rev: 1f3300766b827ed73daaa01572017775305105b2) Signed-off-by: Andrei Gherzan Signed-off-by: Richard Purdie --- meta/classes/rootfs_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 9d716fb..25f15ee 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -111,7 +111,7 @@ fakeroot rootfs_ipk_do_rootfs () { fi # Also delete the status files - rm -rf ${IMAGE_ROOTFS}${opkglibdir} + remove_packaging_data_files fi fi set +x -- 2.7.4