You've already forked fedora-iso
mirror of
https://github.com/t2linux/fedora-iso.git
synced 2026-04-30 13:51:49 -07:00
25 lines
517 B
Bash
Executable File
25 lines
517 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
dnf install -y \
|
|
git \
|
|
curl \
|
|
zip \
|
|
make \
|
|
livecd-tools
|
|
|
|
git clone --single-branch --branch f36 https://pagure.io/fedora-kickstarts.git /tmp/fedora-kickstarts
|
|
cd /tmp/fedora-kickstarts
|
|
|
|
cp -rfv "/repo"/*.ks ./
|
|
mkdir -p /var/cache/live
|
|
|
|
livecd-creator --verbose --releasever=36 --config="t2linux-fedora-workstation-live.ks" --cache=/var/cache/live
|
|
|
|
cp -rfv ./*.iso "/repo"/
|
|
cd "/repo"
|
|
|
|
mkdir -p ./output
|
|
split -b=2000M -x ./*.iso ./output/t2linux-fedora-workstaion-36.iso.
|