* Always removing status files in case of IPK
[not found] <14bba8b5-a545-48ea-80a9-5c4e10de8c33@zimbra2.corp.accelance.fr>
@ 2013-02-19 19:14 ` Pierre Ficheux
2013-02-19 22:06 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Ficheux @ 2013-02-19 19:14 UTC (permalink / raw)
To: yocto
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.
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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Always removing status files in case of IPK
2013-02-19 19:14 ` Always removing status files in case of IPK Pierre Ficheux
@ 2013-02-19 22:06 ` Martin Jansa
2013-02-20 7:20 ` Pierre Ficheux
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2013-02-19 22:06 UTC (permalink / raw)
To: Pierre Ficheux; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]
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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Always removing status files in case of IPK
2013-02-19 22:06 ` Martin Jansa
@ 2013-02-20 7:20 ` Pierre Ficheux
0 siblings, 0 replies; 3+ messages in thread
From: Pierre Ficheux @ 2013-02-20 7:20 UTC (permalink / raw)
To: yocto
Yes, better with
IMAGE_FEATURES += "package-management"
sorry.
----- Mail original -----
> De: "Martin Jansa" <martin.jansa@gmail.com>
> À: "Pierre Ficheux" <pierre.ficheux@openwide.fr>
> Cc: yocto@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@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@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>
--
Pierre FICHEUX -/- CTO OW/OS4I, France -\- pierre.ficheux@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-20 7:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <14bba8b5-a545-48ea-80a9-5c4e10de8c33@zimbra2.corp.accelance.fr>
2013-02-19 19:14 ` Always removing status files in case of IPK Pierre Ficheux
2013-02-19 22:06 ` Martin Jansa
2013-02-20 7:20 ` Pierre Ficheux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.