Skip to content

Commit

Permalink
Use submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Oct 1, 2023
1 parent d4852c9 commit de5ec2a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

- name: Build ISO
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "fedora-kickstarts"]
path = fedora-kickstarts
url = https://pagure.io/fedora-kickstarts
branch = "f38"
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/bash

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

Expand Down
1 change: 1 addition & 0 deletions fedora-kickstarts
Submodule fedora-kickstarts added at 69c726

0 comments on commit de5ec2a

Please sign in to comment.