Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:C:DVD
firebird-classic
allow-creating-buildRoot-as-non-root-user.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File allow-creating-buildRoot-as-non-root-user.patch of Package firebird-classic
From: Michal Kubecek <mkubecek@suse.cz> Date: Sun, 3 Jun 2012 15:15:28 +0200 Subject: allow creating buildRoot as non-root user Do not use chown in "make buildRoot" so that it doesn't require to be run as root. --- .../install/arch-specific/linux/misc/makeInstallImage.sh.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/builds/install/arch-specific/linux/misc/makeInstallImage.sh.in b/builds/install/arch-specific/linux/misc/makeInstallImage.sh.in index cda8e63..ee6fab8 100644 --- a/builds/install/arch-specific/linux/misc/makeInstallImage.sh.in +++ b/builds/install/arch-specific/linux/misc/makeInstallImage.sh.in @@ -28,10 +28,15 @@ # This script builds an image of the installed system into # the gen/buildroot directory. -if [ "`whoami`" != "root" ]; then - echo 'You must be root to build package' - exit 1 -fi +#if [ "`whoami`" != "root" ]; then +# echo 'You must be root to build package' +# exit 1 +#fi + +function chown +{ + : +} # Making an assumption that this program is being run in the gen directory BuildRootDir=.. -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor