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.
This commit is contained in:
Daan De Meyer 2024-06-07 18:54:17 +02:00
parent 27cd8a61c1
commit 60f1e44ffe

View file

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