Skip to content

Commit

Permalink
feat: Update to Fedora 38
Browse files Browse the repository at this point in the history
This removes the patched python3-blivet package because it was
upstreamed with Fedora 38.
  • Loading branch information
sharpenedblade committed Apr 25, 2023
1 parent cf73ef1 commit b9152eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
--rm \
-t \
-v "$(pwd)":/repo \
fedora:37 \
fedora:38 \
/bin/bash -c 'cd /repo && ./build.sh'
- name: Artifacts
Expand Down
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ set -eu -o pipefail

dnf install -y --quiet git pykickstart lorax anaconda lorax-lmc-novirt

git clone --quiet --single-branch --depth 1 --branch f37 https://pagure.io/fedora-kickstarts.git /var/fedora-kickstarts
git clone --quiet --single-branch --depth 1 --branch f38 https://pagure.io/fedora-kickstarts.git /var/fedora-kickstarts
cd /var/fedora-kickstarts
cp -rfv "/repo"/*.ks ./
sudo ksflatten -c t2linux-fedora-workstation-live.ks -o flat.ks

livemedia-creator --ks flat.ks --no-virt --resultdir /var/lmc --project Fedora-Workstation-Live-t2linux --make-iso --volid Fedora-WS-Live-t2-37-2.0.0 --iso-only --iso-name Fedora-Workstation-Live-t2linux-x86_64-37-2.0.0.iso --releasever 37
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

cp -rfv /var/lmc/*.iso "/repo"/
cd "/repo"
Expand All @@ -18,5 +18,5 @@ mkdir -p ./output
if (( $(stat -c%s *.iso) > 199999999 )); then
mv *.iso ./output/
else
split -b 2000M -x ./*.iso ./output/Fedora-Workstation-Live-t2linux-x86_64-37-2.0.0.iso.
split -b 2000M -x ./*.iso ./output/Fedora-Workstation-Live-t2linux-x86_64-38-2.0.0.iso.
fi
1 change: 0 additions & 1 deletion t2linux-fedora-common.ks
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ bootloader --append="intel_iommu=on iommu=pt pcie_ports=compat"
kernel-core*.t2.*
t2linux-config
t2linux-repo
python3-blivet-3.5.0

%end

0 comments on commit b9152eb

Please sign in to comment.