summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 14:13:40 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 14:13:40 +0000
commiteedc6b9b2fd9851b10bda716aa996c11f4c30b75 (patch)
treeaa5f29547646d1fe6fa4a76d9da4293bbc733f71 /meta/classes/rootfs_ipk.bbclass
parentd35ae18439c2461a6ab94ff7538dab7303139210 (diff)
downloadopenembedded-core-eedc6b9b2fd9851b10bda716aa996c11f4c30b75.tar.gz
openembedded-core-eedc6b9b2fd9851b10bda716aa996c11f4c30b75.tar.bz2
openembedded-core-eedc6b9b2fd9851b10bda716aa996c11f4c30b75.tar.xz
openembedded-core-eedc6b9b2fd9851b10bda716aa996c11f4c30b75.zip
rootfs_ipk: added ROOTFS_POSTINSTALL_COMMAND
It is for functions which wants to install/remove packages after rootfs is populated but before flags are mangled. This can be used by 'install_all_locales' function for example. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4601 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 7b5df39cd..5f7c741e6 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -44,6 +44,8 @@ fakeroot rootfs_ipk_do_rootfs () {
mkdir -p ${IMAGE_ROOTFS}/etc/opkg/
grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf
+ ${ROOTFS_POSTINSTALL_COMMAND}
+
for i in ${IMAGE_ROOTFS}${libdir}/opkg/info/*.preinst; do
if [ -f $i ] && ! sh $i; then
opkg-cl ${IPKG_ARGS} flag unpacked `basename $i .preinst`