Skip to content

Commit

Permalink
feat(iso-runner): get latest garuda-tools version before building iso
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Dec 16, 2024
1 parent f9239d1 commit f4b1c44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nixos/hosts/iso-runner.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ let
case "$SSH_ORIGINAL_COMMAND" in
"ci-trigger buildall")
echo "Ensuring container and garuda-tools are up-to-date.."
docker exec buildiso pacman -Syu --noconfirm || exit 1
echo "Building all ISO Garuda currently offers.."
docker exec buildiso buildall || exit 1
;;
"ci-trigger "* )
echo "Ensuring container and garuda-tools are up-to-date.."
docker exec buildiso pacman -Syu --noconfirm || exit 2
echo "Building $_FLAVOUR.."
docker exec buildiso buildiso -i || exit 2
[[ $_KERNEL != "" ]] && (docker exec buildiso buildiso -p "$_FLAVOUR" -k "$_KERNEL" || exit 3)
Expand Down

0 comments on commit f4b1c44

Please sign in to comment.