Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Action: Install all required mkosi dependencies #3178

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Loading