forked from blue-build/legacy-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ublue-os-template3' into live
- Loading branch information
Showing
7 changed files
with
102 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
on: | ||
push: | ||
paths: | ||
- 'boot_menu.yml' | ||
- '.github/workflows/release-iso.yml' | ||
workflow_dispatch: | ||
|
||
name: release-iso | ||
jobs: | ||
release-iso: | ||
name: Generate and Release ISOs | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
container: | ||
image: fedora:38 | ||
options: --privileged | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Generate ISO | ||
uses: ublue-os/isogenerator@main | ||
id: isogenerator | ||
with: | ||
image-name: ${{ github.event.repository.name }} | ||
installer-repo: releases | ||
installer-major-version: 38 | ||
boot-menu-path: boot_menu.yml | ||
- name: install github CLI | ||
run: | | ||
sudo dnf install 'dnf-command(config-manager)' -y | ||
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo | ||
sudo dnf install gh -y | ||
- name: Upload ISO | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
run: | | ||
if gh release list -R ${{ github.repository_owner }}/${{ github.event.repository.name }} | grep "auto-iso"; then | ||
gh release upload auto-iso ${{ steps.isogenerator.outputs.iso-path }} -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --clobber | ||
else | ||
gh release create auto-iso ${{ steps.isogenerator.outputs.iso-path }} -t ISO -n "This is an automatically generated ISO release." -R ${{ github.repository_owner }}/${{ github.event.repository.name }} | ||
fi | ||
- name: Upload SHA256SUM | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
run: | ||
gh release upload auto-iso ${{ steps.isogenerator.outputs.sha256sum-path }} -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --clobber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ublue_variants: | ||
- label: ublue-os/startingpoint | ||
ks: /kickstart/ublue-os.ks | ||
flavors: | ||
- label: startingpoint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Name=uBlue First Boot Setup | ||
Comment=Sets up the uBlue desktop on first boot. | ||
GenericName=Launcher | ||
Categories=Utility;System; | ||
Exec=/usr/share/ublue-os/firstboot/launcher/autostart.sh | ||
Icon=application-x-executable | ||
Terminal=false | ||
Type=Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
!include /usr/share/ublue-os/just/00-custom.just | ||
|
||
# Install all flatpaks defined in recipe.yml | ||
setup-flatpaks: | ||
#!/usr/bin/env bash | ||
echo 'Installing flatpaks from the ublue recipe ...' | ||
flatpaks=$(yq -- '.firstboot.flatpaks[]' "/usr/share/ublue-os/recipe.yml") | ||
for pkg in $flatpaks; do \ | ||
echo "Installing: ${pkg}" && \ | ||
flatpak install --user --noninteractive flathub $pkg; \ | ||
done | ||
# Include some of your custom scripts here! | ||
>>>>>>> 116e53a9e6bc183f174b06f8b54204be8d03dfab |