diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-06 14:13:40 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-06 14:13:40 +0000 |
commit | eedc6b9b2fd9851b10bda716aa996c11f4c30b75 (patch) | |
tree | aa5f29547646d1fe6fa4a76d9da4293bbc733f71 /meta/classes/rootfs_ipk.bbclass | |
parent | d35ae18439c2461a6ab94ff7538dab7303139210 (diff) | |
download | poky-eedc6b9b2fd9851b10bda716aa996c11f4c30b75.tar.gz |
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.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 7b5df39cdd..5f7c741e6e 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -44,6 +44,8 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
44 | mkdir -p ${IMAGE_ROOTFS}/etc/opkg/ | 44 | mkdir -p ${IMAGE_ROOTFS}/etc/opkg/ |
45 | grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf | 45 | grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf |
46 | 46 | ||
47 | ${ROOTFS_POSTINSTALL_COMMAND} | ||
48 | |||
47 | for i in ${IMAGE_ROOTFS}${libdir}/opkg/info/*.preinst; do | 49 | for i in ${IMAGE_ROOTFS}${libdir}/opkg/info/*.preinst; do |
48 | if [ -f $i ] && ! sh $i; then | 50 | if [ -f $i ] && ! sh $i; then |
49 | opkg-cl ${IPKG_ARGS} flag unpacked `basename $i .preinst` | 51 | opkg-cl ${IPKG_ARGS} flag unpacked `basename $i .preinst` |