Am Montag, 19. April 2021, 21:57:31 CEST schrieb Andreas Schwab:
On Apr 19 2021, Hans-Peter Jansen wrote:
While other kernel modules don't suffer from
this, I thought, it might be
a good idea to build a current kernel-obs-build as well, but that fails
[ 78s] Executing(%build): /bin/bash -e /var/tmp/rpm-tmp.NPaiTO
[ 78s] + umask 022
[ 78s] + cd /home/abuild/rpmbuild/BUILD
[ 78s] + /usr/bin/rm -rf
[ 78s] ++ dirname
[ 78s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT
[ 78s] + /usr/bin/mkdir
[ 79s] + mkdir -p /usr/lib/dracut/modules.d/80obs
[ 79s] mkdir: cannot create directory '/usr/lib/dracut/modules.d/80obs':
Permission denied [ 79s] error: Bad exit status from
kernel-obs-build needs to be built as root.
Thanks. I thought so too.
Let me rephrase my question, how are such root builds managed in OBS?
I cannot find anything the project config, nor some magic comments in the