]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Make sure bootctl is built
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 11 Mar 2023 12:06:19 +0000 (13:06 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 11 Mar 2023 12:31:17 +0000 (13:31 +0100)
bootctl is now behind the new bootloader meson option, so let's
enable that and install the required python-pyelftools dependency.

action.yaml

index 19903cb448419101ced24b95e2470c2725142d48..55e1a758922c1ae91938d8abb066ff16724c8214 100644 (file)
@@ -27,6 +27,7 @@ runs:
         btrfs-progs \
         mtools \
         python3-pefile \
+        python3-pyelftools \
         bubblewrap
 
       sudo pacman-key --init
@@ -41,7 +42,7 @@ runs:
       sudo apt-get build-dep systemd
       sudo apt-get install libfdisk-dev
       git clone https://github.com/systemd/systemd --depth=1
-      meson systemd/build systemd -Drepart=true -Defi=true
+      meson systemd/build systemd -Drepart=true -Defi=true -Dbootloader=true
       ninja -C systemd/build systemd-nspawn systemd-repart bootctl ukify systemd-analyze systemd-nspawn
       sudo ln -svf $PWD/systemd/build/systemd-repart /usr/bin/systemd-repart
       sudo ln -svf $PWD/systemd/build/bootctl /usr/bin/bootctl