blob: cacb7ed2e8280cf419f6105d105cf3d3bc590b54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/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 -v -E "(freebsd|macos)")
for host in $HOSTS
do
if test "$host" = "libvirt-fedora-rawhide"
then
for cross in mingw32 mingw64; do
$LCITOOL dockerfile $host osinfo-db-tools+dist,osinfo-db,libosinfo --cross $cross > ci-$host-cross-$cross.Dockerfile
done
fi
$LCITOOL dockerfile $host osinfo-db-tools,osinfo-db,libosinfo > ci-$host.Dockerfile
done
|