[opensuse-buildservice] is "needsrootforbuild" a useless comment in package spec ?
I tried to osc build locally the installation-images-openSUSE package in openSUSE:Factory:Staging:F project (1) I need to specify --userootforbuild to avoid "Permission denied" error. Does it mean the "# needsrootforbuild" is useless in spec file ? -- Michel Normand -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mo, Jul 25 2016, Normand
I tried to osc build locally the installation-images-openSUSE package in openSUSE:Factory:Staging:F project (1) I need to specify --userootforbuild to avoid "Permission denied" error.
Does it mean the "# needsrootforbuild" is useless in spec file ?
osc build by default runs build with --norootforbuild, which overrides needsrootforbuild. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2016-07-25 15:50:50 +0200, Normand wrote:
I tried to osc build locally the installation-images-openSUSE package in openSUSE:Factory:Staging:F project (1) I need to specify --userootforbuild to avoid "Permission denied" error.
Does it mean the "# needsrootforbuild" is useless in spec file ?
No, you need both if you want to build as root. "# needsrootforbuild" signals that we intend to build as root and "--userootforbuild" specifies that we allow to build as root. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Marcus Hüwe
-
Normand