]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Only install package managers and debian-keyring
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Jan 2025 21:41:06 +0000 (22:41 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 22 Jan 2025 13:11:18 +0000 (14:11 +0100)
Instead, let's recommend users to use the default tools tree to get
their dependencies which is generally recommended as it reduces their
dependencies on what's installed on the host system.

action.yaml

index 5104379cda92beda39aa19cf3543c46bef61942f..d650b4c0abe05b2a8a370c7ae5fca42acd452838 100644 (file)
@@ -80,8 +80,9 @@ runs:
     - name: Dependencies
       shell: bash
       run: |
-        # This is added by default, and it is often broken, but we don't need anything from it
-        sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
-        # For archlinux-keyring and pacman
-        sudo apt-get update
-        mkosi dependencies | xargs -d '\n' sudo apt-get install --assume-yes --no-install-recommends
+        sudo apt-get install --assume-yes --no-install-recommends \
+          debian-archive-keyring \
+          dnf \
+          makepkg \
+          pacman-package-manager \
+          zypper