On 6/2/21 6:01 PM, Jacob Kroon via lists.openembedded.org wrote:
On 6/2/21 8:32 AM, Jacob Kroon via lists.openembedded.org wrote:
Hi,
I'm using Fedora 34 and OE-Core/Bitbake/layers from git master as of
today, with reproducible builds. Sometimes when rebuilding my image I
see sudden changes in file permissions (jumping back and forth) in the
buildhistory output for two native recipes:
shadow-native: (OE-Core)
-drwxr-xr-x - - 40 ./var/spool/mail
+drwxrwxr-x - - 40 ./var/spool/mail
I can reproduce it reliably with these commands:
After I do:
# bitbake -c cleansstate shadow-native && bitbake shadow-native
I get:
drwxrwxr-x - - 40 ./var/spool/mail
After I do:
# bitbake -c clean shadow-native && bitbake shadow-native
I get:
drwxr-xr-x - - 40 ./var/spool/mail
shadow.inc does:
<snip>
do_install_append() {
...
install -m 0775 -d ${D}${localstatedir}/spool/mail
</snip>
So it looks to me like those permissions are either not recorded in the
sstate cache, or they are not restored when extracting the cache.
I see this issue in master and hardknot builds, but not in dunfell builds.
/Jacob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#91835):
https://lists.openembedded.org/g/openembedded-devel/message/91835
Mute This Topic: https://lists.openembedded.org/mt/83252995/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-