]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Stop using tools tree 33241/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Jun 2024 16:54:17 +0000 (18:54 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 8 Jun 2024 10:33:32 +0000 (12:33 +0200)
Noble has all the tooling we need so let's stop using a tools tree
and just install the dependencies we need on the host system.

.github/workflows/mkosi.yml

index 40fc167195fcbb1cf11efefa548aa8d297426d40..71037f8fac06a721d4ecc9e32c07fd0b09168df4 100644 (file)
@@ -140,8 +140,6 @@ jobs:
                 LLVM=${{ matrix.llvm }}
 
         [Host]
-        ToolsTree=default
-        ToolsTreeDistribution=fedora
         QemuMem=4G
         # We build with debuginfo so there's no point in mounting the sources into the machine.
         RuntimeBuildSources=no
@@ -153,24 +151,20 @@ jobs:
     - name: Show image summary
       run: mkosi summary
 
-    - name: Install build dependencies
+    - name: Install dependencies
       run: |
-        sudo apt-get install \
-            meson \
+        mkosi dependencies |
+        xargs -d '\n' sudo apt-get install \
             gperf \
-            libfdisk-dev \
-            libmount-dev \
-            libtss2-dev \
             libblkid-dev \
-            libmicrohttpd-dev \
             libcap-dev \
-            libcurl4-openssl-dev \
             libcryptsetup-dev \
-            erofs-utils \
-            dosfstools \
-            python3-pefile \
-            sbsigntool \
-            mtools
+            libcurl4-openssl-dev \
+            libfdisk-dev \
+            libmicrohttpd-dev \
+            libmount-dev \
+            libtss2-dev \
+            meson
 
     - name: Configure meson
       run: |
@@ -183,7 +177,7 @@ jobs:
             -Dtpm2=enabled \
             -Dlibcryptsetup=enabled \
             -Dlibcurl=enabled \
-            -Drepart=disabled \
+            -Drepart=enabled \
             -Dfirstboot=true \
             -Dsysusers=true \
             -Dtmpfiles=true \