forked from sibsau/docker-rosa
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build-all.sh
executable file
·37 lines (32 loc) · 1.01 KB
/
build-all.sh
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
30
31
32
33
34
35
36
37
#!/usr/bin/env bash
# build all possible images
_current_build(){
ltype="${type:-undef}"
echo ""
echo "=== BUILDING ROOTFS: rosaVersion=$rosaVersion arch=$arch type=$ltype ==="
echo ""
unset ltype
}
# build minimal images
for arch in x86_64 i586
do
export arch="$arch"
for rosaVersion in rosa2016.1 rosa2014.1
do
_current_build
env rosaVersion="$rosaVersion" ./mkimage-minimal.sh
done
for rosaVersion in rosa2012.1 rosa2012lts
do
_current_build
env rosaVersion="$rosaVersion" ./mkimage-minimal-2012.sh
done
# build standard images only of rosa2016.1 and rosa2021.1
unset packagesList
_current_build
env rosaVersion="rosa2016.1" type="std" systemd_networkd=1 ./mkimage-urpmi.sh
_current_build
env rosaVersion="rosa2021.1" mirror="http://abf-downloads.rosalinux.ru/" type="std" systemd_networkd=1 ./mkimage-urpmi.sh
_current_build
#env rosaVersion="rosa2019.0" brandingPackages="branding-configs-Nickel" mirror="http://abf-downloads.rosalinux.ru/" type="min" systemd_networkd=1 ./mkimage-urpmi.sh
done