* For do_rootfs - basehash changed from 17... to 94... Variable TIME changed
@ 2019-03-18 15:48 Glenn Szejna
2019-03-21 12:55 ` Nikolai Merinov
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Szejna @ 2019-03-18 15:48 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]
Hi All,
It this the best place to ask this question?
Thanks in advance for your help.
The rootfs is not completing. We see multiple ERROR lines in the
bitbake.log as shown below.
ERROR: When reparsing
/home/builder/gs/NextYocto/gs1/poky/build/../meta-rescue/recipes-core/images/rescue-image.bb.do_rootfs,
the basehash value changed from 947387b80592ae282d6844d882e80bf5 to
17742feecc6b2041e730223328e17ad5. The metadata is not deterministic and
this needs to be fixed.
When we preform bitbake-diffsigs to see what has changed we get a TIME
difference displayed:
$ bitbake-diffsigs
1.0-r0.do_rootfs.sigbasedata.17742feecc6b2041e730223328e17ad5
1.0-r0.do_rootfs.sigbasedata.947387b80592ae282d6844d882e80bf5
NOTE: Starting bitbake server...
basehash changed from 17742feecc6b2041e730223328e17ad5 to
947387b80592ae282d6844d882e80bf5
Variable TIME value changed from '143451' to '143355'
In our recipe has the exclude line:
do_rootfs[vardepsexclude] = "TIME DATE DATETIME"
Why is bitbake depending on TIME when we have told it not to?
Thank you,
Glenn
--
Glenn Szejna
Linux Embedded Systems Engineer - Madison
Office: (608) 421-7274 | glenn.szejna@singlewire.com
[image: Singlewire-Logo-Sigstr.png]
<http://t.sidekickopen08.com/e1t/c/5/f18dQhb0S7lM8dDMPbW2n0x6l2B9nMJN7t5X-FdSD1CW8rBpxl63Bf5lTBvgm1WRtYW103?t=https%3A%2F%2Ftracking.cirrusinsight.com%2F7349eca3-eb29-42c6-a7ac-cbfb0d751f7a%2Fsinglewire-com&si=7000000000770150&pi=fc02b0ca-6d57-42fe-bb6b-5ebf219fc668>
*Keeping people safe and informed. Everywhere, every time.*
[-- Attachment #2: Type: text/html, Size: 3240 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: For do_rootfs - basehash changed from 17... to 94... Variable TIME changed
2019-03-18 15:48 For do_rootfs - basehash changed from 17... to 94... Variable TIME changed Glenn Szejna
@ 2019-03-21 12:55 ` Nikolai Merinov
2019-03-22 12:33 ` Glenn Szejna
0 siblings, 1 reply; 3+ messages in thread
From: Nikolai Merinov @ 2019-03-21 12:55 UTC (permalink / raw)
To: Glenn Szejna; +Cc: poky
Hi Glenn,
> In our recipe has the exclude line:
> do_rootfs[vardepsexclude] = "TIME DATE DATETIME"
>
>
> Why is bitbake depending on TIME when we have told it not to?
Did you use the TIME variable directly in the "do_rootfs" function code? The "vardepsexclude" flag excludes only direct dependencies:
B = "test"
A = "${B}"
# Code on the following line will not work: There is no direct dependency from do_install to B.
# do_install[vardepsexclude] = "B"
# Code on the following line effectively remove value of B variable from do_install stamps:
A[vardepsexclude] = "B"
do_install () {
echo ${A}
}
Regards,
Nikolai
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: For do_rootfs - basehash changed from 17... to 94... Variable TIME changed
2019-03-21 12:55 ` Nikolai Merinov
@ 2019-03-22 12:33 ` Glenn Szejna
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Szejna @ 2019-03-22 12:33 UTC (permalink / raw)
To: Nikolai Merinov; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
Hi Nikolai,
Thank you for your insight and information. Your information helped us to
move forward and look for a solution to our problem in a different area of
the Yocto build process.
Best Regards & Thanks again,
Glenn
On Thu, Mar 21, 2019 at 7:55 AM Nikolai Merinov <
n.merinov@inango-systems.com> wrote:
> Hi Glenn,
>
> > In our recipe has the exclude line:
> > do_rootfs[vardepsexclude] = "TIME DATE DATETIME"
> >
> >
> > Why is bitbake depending on TIME when we have told it not to?
>
> Did you use the TIME variable directly in the "do_rootfs" function code?
> The "vardepsexclude" flag excludes only direct dependencies:
>
> B = "test"
> A = "${B}"
> # Code on the following line will not work: There is no direct
> dependency from do_install to B.
> # do_install[vardepsexclude] = "B"
> # Code on the following line effectively remove value of B variable
> from do_install stamps:
> A[vardepsexclude] = "B"
> do_install () {
> echo ${A}
> }
>
> Regards,
> Nikolai
>
>
--
Glenn Szejna
Linux Embedded Systems Engineer - Madison
glenn.szejna@singlewire.com
[-- Attachment #2: Type: text/html, Size: 2642 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-22 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-18 15:48 For do_rootfs - basehash changed from 17... to 94... Variable TIME changed Glenn Szejna
2019-03-21 12:55 ` Nikolai Merinov
2019-03-22 12:33 ` Glenn Szejna
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.