From 60f1e44ffe6bd318f59b584e90fc95d742a3d70e Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 7 Jun 2024 18:54:17 +0200 Subject: [PATCH] mkosi: Stop using tools tree 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 | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index 40fc167195fcb..71037f8fac06a 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -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 \