summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-10-21 18:40:42 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-23 12:28:33 +0100
commite7f1ec945bacb189446b0dc79272cabe24dd79e0 (patch)
tree4fa111890aa87ca0c898acc8817e7fac8c1f8398 /meta/classes
parentdd0377397742db86c4e9e3ab9e5b7726943233f8 (diff)
downloadpoky-e7f1ec945bacb189446b0dc79272cabe24dd79e0.tar.gz
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 <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 9d716fbe10..25f15eef56 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -111,7 +111,7 @@ fakeroot rootfs_ipk_do_rootfs () {
111 fi 111 fi
112 112
113 # Also delete the status files 113 # Also delete the status files
114 rm -rf ${IMAGE_ROOTFS}${opkglibdir} 114 remove_packaging_data_files
115 fi 115 fi
116 fi 116 fi
117 set +x 117 set +x