On Sat, 2018-09-29 at 13:43 +0800, [email protected] wrote: > From: Kai Kang <[email protected]> > > The first line of config file man_db.conf is the package name. It > causes > multilib install file conflict. So remove the first line. > > Signed-off-by: Kai Kang <[email protected]> > --- > meta/recipes-extended/man-db/man-db_2.8.3.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-extended/man-db/man-db_2.8.3.bb > b/meta/recipes-extended/man-db/man-db_2.8.3.bb > index 97e5a3d6fb..da6d291011 100644 > --- a/meta/recipes-extended/man-db/man-db_2.8.3.bb > +++ b/meta/recipes-extended/man-db/man-db_2.8.3.bb > @@ -26,6 +26,9 @@ do_install() { > install -d ${D}/etc/default/volatiles > install -m 0644 ${WORKDIR}/99_mandb > ${D}/etc/default/volatiles > fi > + > + # the 1st line of man_db.conf is package name which causes > multilib install file conflict > + sed -i '1d' ${D}${sysconfdir}/man_db.conf > }
Please do this with a patch, not a sed expression. The sed expressions are a maintenance nightmare since we don't know if/when the config file may change, or if/when this expression stops working. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
