On 7/18/21 1:48 PM, akuster808 wrote:
> Tony
>
> On 7/16/21 8:57 AM, Tony Battersby wrote:
>> Using Yocto 3.3.1 (Hardknott).
>>
>> We have the following in local.conf:
>> COPY_LIC_DIRS = "1"
>> COPY_LIC_MANIFEST = "1"
>>
>> ntp Makefile contains:
>> $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
>>      { echo "This file is automatically generated from html/copyright.html" 
>> ; \
>>        lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \
>>      && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT
>>
>> When building the firmware image, COPYRIGHT is hardlinked into image
>> rootfs (usr/share/common-licenses/ntp/COPYRIGHT), and then the timestamp
>> is changed to REPRODUCIBLE_TIMESTAMP_ROOTFS.  Since it is hardlinked,
>> that changes the timestamp of the file in the source directory also.  If
>> a settings change causes bitbake to compile ntp again without deleting
>> and unpacking the files first, it fails with:
>>
>> /bin/bash: line 1: lynx: command not found
>> make: *** [Makefile:1119: ../ntp-4.2.8p15/COPYRIGHT] Error 127
> Have you tried current top of branch just for comparison and data point?
>
> -armin


We are currently on commit cf5bd6a83081 of meta-openembedded.  I see two
commits to meta-networking/recipes-support/ntp since then; neither seems
relevant.  If it matters I can retest later after we upgrade to Yocto
3.3.2, at which point we will also update meta-openembedded.  But since
I have a workaround for the issue it is just a nuisance not a major problem.

Tony

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#92354): 
https://lists.openembedded.org/g/openembedded-devel/message/92354
Mute This Topic: https://lists.openembedded.org/mt/84254821/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to