[poky] PRserver support broken in Dora?

Richard Purdie richard.purdie at linuxfoundation.org
Thu Mar 27 01:28:49 PDT 2014


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



More information about the poky mailing list