On Tue, 2011-05-17 at 14:55 +0100, Phil Blundell wrote: > This makes it work more or less the same way as the current tip of oe > master, except that I didn't copy over the behaviour for O_P_M="add" > because it seemed slightly bogus to me. > > Signed-off-by: Phil Blundell <[email protected]> > --- > meta/classes/rootfs_ipk.bbclass | 12 ++++++++++-- > 1 files changed, 10 insertions(+), 2 deletions(-) > > diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass > index 5727d15..c7c8325 100644 > --- a/meta/classes/rootfs_ipk.bbclass > +++ b/meta/classes/rootfs_ipk.bbclass > @@ -69,8 +69,16 @@ fakeroot rootfs_ipk_do_rootfs () { > echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version > > ${ROOTFS_POSTPROCESS_COMMAND} > - > - rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* > + > + case "${ONLINE_PACKAGE_MANAGEMENT}" in > + none) > + rm -rf ${IMAGE_ROOTFS}${opkglibdir} > + ;; > + > + *) > + rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* > + ;; > + esac > > log_check rootfs > }
What's wrong with: ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " as used in the minimal image? The nice thing about this is it works over several package backends too... Cheers, Richard _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
