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>
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
set -x
-export LD_LIBRARY_PATH=/usr/local/lib
bash /etc/init.d/xencommons start
xl list
" > root/domU.cfg
echo "#!/bin/bash
-export LD_LIBRARY_PATH=/usr/local/lib
bash /etc/init.d/xencommons start
xl list
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
echo "#!/bin/bash
-export LD_LIBRARY_PATH=/usr/local/lib
bash /etc/init.d/xencommons start
brctl addbr xenbr0
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
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
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