[OE-core] [PATCH 1/1] base-files: do_install.sigdata: remove the depends on DATE

Richard Purdie richard.purdie at linuxfoundation.org
Thu Mar 27 17:49:25 UTC 2014


On Thu, 2014-03-27 at 10:21 -0700, Chris Larson wrote:
> 
> On Mon, Mar 24, 2014 at 8:10 PM, Robert Yang
> <liezhi.yang at windriver.com> wrote:
>         If we run "bitbake -S base-files" today, and re-run it
>         tomorrow with
>         nothing changed, we would see that the do_install.sigdata
>         changes
>         because of:
>         
>         do_intall -> do_install_basefilesissue -> DISTRO_VERSION ->
>         DATE
>         
>         We had set:
>         IMAGE_NAME[vardepsexclude] += "DATETIME"
>         in meta/conf/bitbake.conf, we can set a similar line in
>         base-files_3.0.14.bb to fix the problem.
>         
>         [YOCTO #6032]
>         
>         Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> 
> Wont't this mean base-files wouldn't be rebuilt when the day changes?
> This seems problematic to me. I think this is a legitimate case for a
> checksum change. If the distro version changes due to the date
> changing, and the base-files includes the distro version in the issue
> file, then we'd *want* base-files to rebuild to ensure the issue file
> is correct, otherwise it'd be inaccurate, no?
> 
I'm torn on this. Package feed creators probably don't want a package
feed where the package changes daily but I can see this from both sides,
I have often wondered why my build was rebuilding base-files...

Cheers,

Richard





More information about the Openembedded-core mailing list