Hi,

I have a very strange issue, base-files and *-src rpm packages
have permission conflicts for /usr/src.

As expected after reading the recipe and all the bbappends
from the layers I use, it should use 0755 and according to
devshell, it does:

$ bitbake -c install base-files

$ bitbake -c devshell base-files
$ ls -ld image/usr/src
drwxr-xr-x 2 root root  6 Jan 12 12:54 image/usr/src
$ exit

But for some reason, the base-files rpm package ends up with 2755 for this 
directory:

$ bitbake base-files
$ rpm -qp --dump deploy/glibc/rpm/intel_corei7_64/base-files-3.0.14-r0.intel_corei7_64.rpm 2>/dev/null | grep usr/src /usr/src 0 1302044400 0000000000000000000000000000000000000000000000000000000000000000 042755 root root 0 0 0 X

When I install a dbg and src subpackages for a package that
I need to debug on the target machine, dnf and rpm complain
about the conflicting permissions.

I have tested it in honister and kirkstone where it's an issue.
In mickledore and nanbield it's not, *-src subpackages also use 2755.

What may have fixed this? I would like to backport it in my local trees.

Thanks in advance,
Zoltán Böszörményi

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193584): 
https://lists.openembedded.org/g/openembedded-core/message/193584
Mute This Topic: https://lists.openembedded.org/mt/103683808/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to