[yocto] Always removing status files in case of IPK

Martin Jansa martin.jansa at gmail.com
Tue Feb 19 14:06:11 PST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130219/d8e1a445/attachment.pgp>


More information about the yocto mailing list