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>
This commit is contained in:
Andrei Gherzan
2012-10-21 18:40:42 +03:00
committed by Richard Purdie
parent dd03773977
commit e7f1ec945b

View File

@@ -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