[yocto] Always removing status files in case of IPK
Pierre Ficheux
pierre.ficheux at openwide.fr
Tue Feb 19 23:20:24 PST 2013
Yes, better with
IMAGE_FEATURES += "package-management"
sorry.
----- Mail original -----
> De: "Martin Jansa" <martin.jansa at gmail.com>
> À: "Pierre Ficheux" <pierre.ficheux at openwide.fr>
> Cc: yocto at yoctoproject.org
> Envoyé: Mardi 19 Février 2013 23:06:11
> Objet: Re: [yocto] Always removing status files in case of IPK
>
> On Tue, Feb 19, 2013 at 08:14:22PM +0100, Pierre Ficheux wrote:
> > Hi,
> >
> > I've noticed a problem in rootfs_ipk.bbclass as status files are
> > always removed in case of using IPK (works fine with
> > RPM). Here is the small patch which fix it.
> >
>
> This is expected, see if in which this is:
>
> if ${@base_contains("IMAGE_FEATURES", "package-management", "false",
> "true", d)}; then
>
> > regards
> >
> > diff --git a/meta/classes/rootfs_ipk.bbclass
> > b/meta/classes/rootfs_ipk.bbclass
> > index fadec4d..89c3128 100644
> > --- a/meta/classes/rootfs_ipk.bbclass
> > +++ b/meta/classes/rootfs_ipk.bbclass
> > @@ -109,9 +109,6 @@ fakeroot rootfs_ipk_do_rootfs () {
> > if $remove_run_postinsts; then
> > update-rc.d -f -r ${IMAGE_ROOTFS}
> > run-postinsts remove
> > fi
> > -
> > - # Also delete the status files
> > - remove_packaging_data_files
> > fi
> > fi
> > set +x
> >
> >
> > --
> > Pierre FICHEUX -/- CTO OW/OS4I, France -\-
> > pierre.ficheux at openwide.fr
> > http://www.os4i.com
> > http://www.linuxembedded.fr
> > I would love to change the world, but they won't give me the source
> > code
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
>
--
Pierre FICHEUX -/- CTO OW/OS4I, France -\- pierre.ficheux at openwide.fr
http://www.os4i.com
http://www.linuxembedded.fr
I would love to change the world, but they won't give me the source code
More information about the yocto
mailing list