aboutsummaryrefslogtreecommitdiffstats
path: root/Fedora-wsl.sh
blob: c15e99248aff4e1f0a42e26c0039bc40bb585f55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

vers="${1-30}"
name="fedora-${vers}-wsl"
repo="repos/fedora-${vers}-$(sh basearch.sh).repo"
rpms="strace git"

tar="${IMAGEFISH_DESTDIR-.}/${name}.tar"

echo ""
echo "###"
echo "### $name"
echo "###"
echo "### $rpms"
echo "###"

set -ex
rm -f "$tar"
scripts/install-redhat.sh --config "$repo" --tar "$tar" --packages "$rpms" --kernel "" --dnf