File allow-creating-buildRoot-as-non-root-user.patch of Package firebird30
From: Michal Kubecek <mkubecek@suse.cz>
Date: Tue, 12 Jun 2012 14:05:11 +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.
---
builds/install/arch-specific/linux/makeInstallImage.sh.in | 5 -----
1 file changed, 5 deletions(-)
diff --git a/builds/install/arch-specific/linux/makeInstallImage.sh.in b/builds/install/arch-specific/linux/makeInstallImage.sh.in
index b437fc01f6d2..1a7f2bc98442 100644
--- a/builds/install/arch-specific/linux/makeInstallImage.sh.in
+++ b/builds/install/arch-specific/linux/makeInstallImage.sh.in
@@ -28,11 +28,6 @@
# 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
-
# Making an assumption that this program is being run in the gen directory
BuildRootDir=..
BuiltFBDir=Release/firebird # Where the just build fb exists.
--
2.8.1