15 Dec
2021
15 Dec
'21
15:07
Hi, On 2021-12-15 22:56:23 +0800, Kai Liu wrote:
I noticed that on my private instance, build as root is not working.
I had the "# needsrootforbuild" line in my spec, but build log showed it's still building as the abuild user. Is there any specific setup action I need to take on the OBS server side for this to work?
You have to explicitly allow root builds for a specific package in the BSConfig.pm. Adding something like our $norootexception = {'your_project/your_package' => 1}; should do the trick. Marcus