All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Holger Hans Peter Freyther <holger@freyther.de>
Cc: poky@yoctoproject.org
Subject: Re: PRserver support broken in Dora?
Date: Thu, 27 Mar 2014 08:28:49 +0000	[thread overview]
Message-ID: <1395908929.24890.119.camel@ted> (raw)
In-Reply-To: <20140327060204.GA14885@xiaoyu.lan>

On Thu, 2014-03-27 at 07:02 +0100, Holger Hans Peter Freyther wrote:
> I am sorry to be a bit vagued. I have an in-house application, I modified
> the CONFFILES_${PN} line of app-name_git.bb and then issued bitbake app-name.
> My expectation was that somehow the signature will be different app-name
> will be re-built and the resulting PKGR will be r1.X+1.
> 
> In practice nothing is being re-built. JaMa pointed out I can use the
> "bitbake -S" option to display the signature but when doing "bitbake -S
> app-name" nothing relevant will be printed on the screen. I tried to use
> strace to see if it writes to a file but the trace is way too long to
> find something relevant.
> 
> My local.conf is added below. Could it be that the AUTOPR handling in
> Dora is broken? Any idea of where I can look at to see why the revisions
> are never incremented?

Looking at the code, I suspect this is a bug which still exists in
master. I think fix is to find this in meta/classes/package.bbclass:

# Since bitbake can't determine which variables are accessed during package
# iteration, we need to list them here:
PACKAGEVARS = "FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME ALTERNATIVE PKGE PKGV PKGR USERADD_PARAM GROUPADD_PARAM"

and add CONFFILES to that list. The sstate checksum will then reflect
changes to CONFFILES.

Can you see if that helps?

Cheers,

Richard



  reply	other threads:[~2014-03-27  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27  6:02 PRserver support broken in Dora? Holger Hans Peter Freyther
2014-03-27  8:28 ` Richard Purdie [this message]
2014-05-12 13:50   ` Holger Hans Peter Freyther
2014-03-27 11:37 ` Martin Jansa

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=1395908929.24890.119.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=holger@freyther.de \
    --cc=poky@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.