diff options
Diffstat (limited to 'allow-creating-buildRoot-as-non-root-user.patch')
-rw-r--r-- | allow-creating-buildRoot-as-non-root-user.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/allow-creating-buildRoot-as-non-root-user.patch b/allow-creating-buildRoot-as-non-root-user.patch deleted file mode 100644 index c03ea41..0000000 --- a/allow-creating-buildRoot-as-non-root-user.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 87f1db15ab56ab5d6f9b459fa93b6f86b5213f63 Mon Sep 17 00:00:00 2001 -From: Michal Kubecek <mkubecek@suse.cz> -Date: Tue, 12 Jun 2012 14:05:11 +0200 -Subject: [PATCH 1/7] 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 | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -diff --git a/builds/install/arch-specific/linux/makeInstallImage.sh.in b/builds/install/arch-specific/linux/makeInstallImage.sh.in -index 612e88e..03928a1 100644 ---- a/builds/install/arch-specific/linux/makeInstallImage.sh.in -+++ b/builds/install/arch-specific/linux/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 - - - |