[PATCH] make autobuild.sh work with configure --prefix=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This updates add the execution of
    python setup.py configure --prefix=$AUTOBUILD_INSTALL_ROOT
and removes the --root= specification form the
    python setup.py install

The result is that the wrappers (in /usr/bin) work and
there is a good directory tree under $AUTOBUILD_INSTALL_ROOT
Signed-off-by: Gene Czarcinski <gene@xxxxxxxxx>
---
 autobuild.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/autobuild.sh b/autobuild.sh
index c17521d..5961d7b 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -14,11 +14,12 @@ rm -rf MANIFEST dist/*
 # support version-id changes
 export AUTOBUILD_OVERRIDE_VERSION=y
 
+python setup.py configure --prefix=$AUTOBUILD_INSTALL_ROOT
 python setup.py sdist
 
 python setup.py build
 python setup.py test
-python setup.py install --root=$AUTOBUILD_INSTALL_ROOT
+python setup.py install
 
 which /usr/bin/rpmbuild > /dev/null 2>&1 || exit 0
 
-- 
1.8.1.4

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux