mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
cf325da1f8
We no longer target this platform. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
42 lines
888 B
Bash
Executable File
42 lines
888 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test -z "$1"
|
|
then
|
|
echo "syntax: $0 PATH-TO-LCITOOL"
|
|
exit 1
|
|
fi
|
|
|
|
LCITOOL=$1
|
|
|
|
if ! test -x "$LCITOOL"
|
|
then
|
|
echo "$LCITOOL is not executable"
|
|
exit 1
|
|
fi
|
|
|
|
HOSTS=$($LCITOOL hosts | grep -Ev 'freebsd|macos')
|
|
|
|
for host in $HOSTS
|
|
do
|
|
case "$host" in
|
|
fedora-rawhide)
|
|
for cross in mingw32 mingw64
|
|
do
|
|
$LCITOOL dockerfile $host libvirt --cross $cross > ci-$host-cross-$cross.Dockerfile
|
|
done
|
|
;;
|
|
debian-*)
|
|
for cross in aarch64 armv6l armv7l i686 mips mips64el mipsel ppc64le s390x
|
|
do
|
|
if test "$host-cross-$cross" = "debian-sid-cross-mips"
|
|
then
|
|
continue
|
|
fi
|
|
$LCITOOL dockerfile $host libvirt --cross $cross > ci-$host-cross-$cross.Dockerfile
|
|
done
|
|
;;
|
|
esac
|
|
|
|
$LCITOOL dockerfile $host libvirt > ci-$host.Dockerfile
|
|
done
|