Mailinglist Archive: opensuse-buildservice (117 mails)

< Previous Next >
Re: [opensuse-buildservice] is "needsrootforbuild" a useless comment in package spec ?
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Mon, 25 Jul 2016 16:07:08 +0200
  • Message-id: <20160725140708.dstw7cvi5punbcwl@linux>
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.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >