All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Pierre Ficheux <pierre.ficheux@openwide.fr>
Cc: yocto@yoctoproject.org
Subject: Re: Always removing status files in case of IPK
Date: Tue, 19 Feb 2013 23:06:11 +0100	[thread overview]
Message-ID: <20130219220611.GV3300@jama> (raw)
In-Reply-To: <7ca09268-8696-4643-87d9-33308da50dee@zimbra2.corp.accelance.fr>

[-- 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 --]

  reply	other threads:[~2013-02-19 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2013-02-20  7:20     ` Pierre Ficheux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130219220611.GV3300@jama \
    --to=martin.jansa@gmail.com \
    --cc=pierre.ficheux@openwide.fr \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.