File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/bash
2
2
3
- cd /repo
4
- cd fedora-kickstarts
5
- cp -rfv /repo/* .ks ./
3
+ cd /repo/fedora-kickstarts
4
+ cp -rfv /repo/* .ks .
6
5
sudo ksflatten -c t2linux-fedora-workstation-live.ks -o flat.ks
7
6
8
7
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
9
8
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/
You can’t perform that action at this time.
0 commit comments