Re: Always removing status files in case of IPK


Pierre Ficheux <pierre.ficheux@...>
 

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

Join yocto@lists.yoctoproject.org to automatically receive all group messages.