diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-10-21 18:40:42 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-23 12:27:14 +0100 |
commit | 1f3300766b827ed73daaa01572017775305105b2 (patch) | |
tree | 3cedbe10a65301d71ccdc448ba7842e2c5f804c3 /meta/classes | |
parent | 19af022c73ebc53f7008a016c1e7c584fb7b0054 (diff) | |
download | openembedded-core-1f3300766b827ed73daaa01572017775305105b2.tar.gz openembedded-core-1f3300766b827ed73daaa01572017775305105b2.tar.bz2 openembedded-core-1f3300766b827ed73daaa01572017775305105b2.zip |
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.
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.bbclass | 2 |
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 () { fi # Also delete the status files - rm -rf ${IMAGE_ROOTFS}${opkglibdir} + remove_packaging_data_files fi fi set +x |