* [PATCH] CI: Build with --prefix=/usr rather than setting LD_LIBRARY_PATH
@ 2025-04-15 13:54 Andrew Cooper
2025-04-15 15:40 ` Anthony PERARD
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cooper @ 2025-04-15 13:54 UTC (permalink / raw)
To: Xen-devel
Cc: Andrew Cooper, Anthony PERARD, Stefano Stabellini, Michal Orzel,
Doug Goldstein, Marek Marczykowski-Górecki
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 for all other tests,
but drop that too.
No practical change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Anthony PERARD <anthony.perard@vates.tech>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Doug Goldstein <cardoe@cardoe.com>
CC: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1769687343
---
automation/scripts/build | 2 +-
automation/scripts/qemu-alpine-x86_64.sh | 1 -
automation/scripts/qemu-smoke-dom0-arm64.sh | 1 -
automation/scripts/qemu-smoke-dom0less-arm64.sh | 3 +--
automation/scripts/qubes-x86-64.sh | 1 -
automation/scripts/xilinx-smoke-dom0-x86_64.sh | 3 ---
automation/scripts/xilinx-smoke-dom0less-arm64.sh | 3 +--
7 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/automation/scripts/build b/automation/scripts/build
index 51effec81ddd..a348c781d1f2 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -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
diff --git a/automation/scripts/qemu-alpine-x86_64.sh b/automation/scripts/qemu-alpine-x86_64.sh
index fe86caa39304..746e70483d2c 100755
--- a/automation/scripts/qemu-alpine-x86_64.sh
+++ b/automation/scripts/qemu-alpine-x86_64.sh
@@ -49,7 +49,6 @@ echo "#!/bin/bash
set -x
-export LD_LIBRARY_PATH=/usr/local/lib
bash /etc/init.d/xencommons start
xl list
diff --git a/automation/scripts/qemu-smoke-dom0-arm64.sh b/automation/scripts/qemu-smoke-dom0-arm64.sh
index 61dd24b9abef..d6f6b7488018 100755
--- a/automation/scripts/qemu-smoke-dom0-arm64.sh
+++ b/automation/scripts/qemu-smoke-dom0-arm64.sh
@@ -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
diff --git a/automation/scripts/qemu-smoke-dom0less-arm64.sh b/automation/scripts/qemu-smoke-dom0less-arm64.sh
index 58f11dd31038..e7a3e670d033 100755
--- a/automation/scripts/qemu-smoke-dom0less-arm64.sh
+++ b/automation/scripts/qemu-smoke-dom0less-arm64.sh
@@ -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
diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh
index 1f90e7002c73..bfdd2ceb99ba 100755
--- a/automation/scripts/qubes-x86-64.sh
+++ b/automation/scripts/qubes-x86-64.sh
@@ -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
diff --git a/automation/scripts/xilinx-smoke-dom0-x86_64.sh b/automation/scripts/xilinx-smoke-dom0-x86_64.sh
index 5bb44188dc3d..8f02fa73bd06 100755
--- a/automation/scripts/xilinx-smoke-dom0-x86_64.sh
+++ b/automation/scripts/xilinx-smoke-dom0-x86_64.sh
@@ -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
diff --git a/automation/scripts/xilinx-smoke-dom0less-arm64.sh b/automation/scripts/xilinx-smoke-dom0less-arm64.sh
index 59f3fe7edb3e..293232eebfe7 100755
--- a/automation/scripts/xilinx-smoke-dom0less-arm64.sh
+++ b/automation/scripts/xilinx-smoke-dom0less-arm64.sh
@@ -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
--
2.39.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] CI: Build with --prefix=/usr rather than setting LD_LIBRARY_PATH
2025-04-15 13:54 [PATCH] CI: Build with --prefix=/usr rather than setting LD_LIBRARY_PATH Andrew Cooper
@ 2025-04-15 15:40 ` Anthony PERARD
2025-04-16 0:02 ` Stefano Stabellini
0 siblings, 1 reply; 3+ messages in thread
From: Anthony PERARD @ 2025-04-15 15:40 UTC (permalink / raw)
To: Andrew Cooper
Cc: Xen-devel, Anthony PERARD, Stefano Stabellini, Michal Orzel,
Doug Goldstein, Marek Marczykowski-Górecki
On Tue, Apr 15, 2025 at 02:54:26PM +0100, Andrew Cooper wrote:
> 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 for all 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>
Thanks,
--
Anthony PERARD
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] CI: Build with --prefix=/usr rather than setting LD_LIBRARY_PATH
2025-04-15 15:40 ` Anthony PERARD
@ 2025-04-16 0:02 ` Stefano Stabellini
0 siblings, 0 replies; 3+ messages in thread
From: Stefano Stabellini @ 2025-04-16 0:02 UTC (permalink / raw)
To: Anthony PERARD
Cc: Andrew Cooper, Xen-devel, Anthony PERARD, Stefano Stabellini,
Michal Orzel, Doug Goldstein, Marek Marczykowski-Górecki
On Tue, 15 Apr 2025, Anthony PERARD wrote:
> On Tue, Apr 15, 2025 at 02:54:26PM +0100, Andrew Cooper wrote:
> > 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 for all 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-16 0:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 13:54 [PATCH] CI: Build with --prefix=/usr rather than setting LD_LIBRARY_PATH Andrew Cooper
2025-04-15 15:40 ` Anthony PERARD
2025-04-16 0:02 ` Stefano Stabellini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.