Skip to content

Commit dd25e01

Browse files
Remove large (>2GB) ISO release support
1 parent df86bd0 commit dd25e01

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

build.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
#!/usr/bin/bash
22

3-
cd /repo
4-
cd fedora-kickstarts
5-
cp -rfv /repo/*.ks ./
3+
cd /repo/fedora-kickstarts
4+
cp -rfv /repo/*.ks .
65
sudo ksflatten -c t2linux-fedora-workstation-live.ks -o flat.ks
76

87
livemedia-creator --ks flat.ks --no-virt --resultdir /var/lmc --project Fedora-Workstation-Live-t2linux --make-iso --volid Fedora-WS-Live-t2-38-3.0.0 --iso-only --iso-name Fedora-Workstation-Live-t2linux-x86_64-38-3.0.0.iso --releasever 38
98

10-
cp -rfv /var/lmc/*.iso /repo/
11-
cd /repo
12-
13-
mkdir -p _output
14-
if (( $(stat -c%s *.iso) > 199999999 )); then
15-
mv *.iso _output/
16-
else
17-
split -b 2000M -x ./*.iso ./_output/Fedora-Workstation-Live-t2linux-x86_64-38-2.0.0.iso.
18-
fi
9+
mkdir -p _output && mv /var/lmc/*.iso _output/

0 commit comments

Comments
 (0)