]> xenbits.xensource.com Git - xen.git/commitdiff
CI: Build with --prefix=/usr rather than setting LD_LIBRARY_PATH
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 15 Apr 2025 12:49:01 +0000 (13:49 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Apr 2025 08:37:14 +0000 (09:37 +0100)
This also moves executables too.

I'm not sure why xilinx-smoke-dom0-x86_64.sh was overriding PATH too, as
/usr/local is clearly in PATH given the other tests, but drop that too.

No practical change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
automation/scripts/build
automation/scripts/qemu-alpine-x86_64.sh
automation/scripts/qemu-smoke-dom0-arm64.sh
automation/scripts/qemu-smoke-dom0less-arm64.sh
automation/scripts/qubes-x86-64.sh
automation/scripts/xilinx-smoke-dom0-x86_64.sh
automation/scripts/xilinx-smoke-dom0less-arm64.sh

index 51effec81dddd3c5447b41d9f7b95eed10464470..a348c781d1f23035087220dd6f697411f1817c31 100755 (executable)
@@ -67,7 +67,7 @@ elif [[ "${HYPERVISOR_ONLY}" == "y" ]]; then
     collect_xen_artefacts
 else
     # Full build.  Figure out our ./configure options
-    cfgargs=()
+    cfgargs=("--prefix=/usr")
     cfgargs+=("--enable-docs")
 
     # booleans for which compiler is in use
index fe86caa39304ceef2339bf9d18061329fc319868..746e70483d2c00cafd33b86a129c0765771c8ccb 100755 (executable)
@@ -49,7 +49,6 @@ echo "#!/bin/bash
 
 set -x
 
-export LD_LIBRARY_PATH=/usr/local/lib
 bash /etc/init.d/xencommons start
 
 xl list
index 61dd24b9abef1fecce8e3de92c9b10acf2df25d7..d6f6b74880181286ab84a2eec17c55c744c526cc 100755 (executable)
@@ -46,7 +46,6 @@ extra=\"console=hvc0 root=/dev/ram0 rdinit=/bin/sh\"
 " > root/domU.cfg
 echo "#!/bin/bash
 
-export LD_LIBRARY_PATH=/usr/local/lib
 bash /etc/init.d/xencommons start
 
 xl list
index 58f11dd31038bf66686b46f6a472d99b8cc511bf..e7a3e670d033a1faef4a80c0487d0c9b7fb84819 100755 (executable)
@@ -125,10 +125,9 @@ mkdir -p etc/local.d
 
 echo "#!/bin/bash
 
-export LD_LIBRARY_PATH=/usr/local/lib
 bash /etc/init.d/xencommons start
 
-/usr/local/lib/xen/bin/init-dom0less
+/usr/lib/xen/bin/init-dom0less
 
 brctl addbr xenbr0
 brctl addif xenbr0 eth0
index 1f90e7002c734285fde372d73b606a311bd2ca66..bfdd2ceb99baa294bb2043134bac0e28ca8b5956 100755 (executable)
@@ -201,7 +201,6 @@ cp -a ../automation/scripts/run-tools-tests tests/
 
 echo "#!/bin/bash
 
-export LD_LIBRARY_PATH=/usr/local/lib
 bash /etc/init.d/xencommons start
 
 brctl addbr xenbr0
index 5bb44188dc3d2d5e8d028344ed5917ea609b4f02..8f02fa73bd06723c2f2658a04b3550121961f5fd 100755 (executable)
@@ -92,8 +92,6 @@ cd rootfs
 mkdir -p etc/local.d
 echo "#!/bin/sh
 set -x
-export LD_LIBRARY_PATH=/usr/local/lib
-PATH=/usr/local/bin:/usr/local/sbin:\$PATH
 ${DOMU_CMD}
 " > etc/local.d/xen.start
 chmod +x etc/local.d/xen.start
@@ -119,7 +117,6 @@ cd rootfs
 mkdir -p boot etc/local.d etc/xen etc/default
 echo "#!/bin/bash
 set -x
-export LD_LIBRARY_PATH=/usr/local/lib
 bash /etc/init.d/xencommons start
 ${DOM0_CMD}
 " > etc/local.d/xen.start
index 59f3fe7edb3e6075cedde64154d63cfac6a669a2..293232eebfe7ab78f70b0dfec91b7a422fad455f 100755 (executable)
@@ -64,10 +64,9 @@ cd rootfs
 mkdir -p etc/local.d
 echo "#!/bin/bash
 
-export LD_LIBRARY_PATH=/usr/local/lib
 bash /etc/init.d/xencommons start
 
-/usr/local/lib/xen/bin/init-dom0less
+/usr/lib/xen/bin/init-dom0less
 
 ${dom0_check}
 " > etc/local.d/xen.start