From 8505a5303bb0c65991faf59a45409330e0c16a92 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 11 Nov 2024 06:07:35 -0800 Subject: [PATCH] GitHub Action: Install all required mkosi dependencies --- action.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/action.yaml b/action.yaml index 94dde3544..3d6f6321f 100644 --- a/action.yaml +++ b/action.yaml @@ -56,6 +56,10 @@ runs: sudo aa-teardown || true sudo apt-get remove apparmor + - name: Install + shell: bash + run: sudo ln -svf ${{ github.action_path }}/bin/mkosi /usr/bin/mkosi + - name: Dependencies shell: bash run: | @@ -64,18 +68,7 @@ runs: # For archlinux-keyring and pacman sudo add-apt-repository ppa:michel-slm/kernel-utils sudo apt-get update - sudo apt-get install --assume-yes --no-install-recommends \ - archlinux-keyring \ - debian-archive-keyring \ - dnf \ - makepkg \ - pacman-package-manager \ - systemd-container \ - zypper + mkosi dependencies | xargs -d '\n' sudo apt-get install sudo pacman-key --init sudo pacman-key --populate archlinux - - - name: Install - shell: bash - run: sudo ln -svf ${{ github.action_path }}/bin/mkosi /usr/bin/mkosi