]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi: include binutils in the packages for building
authorJosef Bacik <josef@toxicpanda.com>
Fri, 8 Dec 2023 22:28:21 +0000 (22:28 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 8 Dec 2023 23:13:01 +0000 (00:13 +0100)
On aarch64 the dependencies are different than x86 and we don't end up
with binutils getting picked up, which means readelf isn't available for
systemd-ukify when using mkosi-kernel on aarch64.  Explicitly add
bintuils to the list of packages, this allows mkosi-kernel to work
properly on an aarch64 machine.

mkosi/distributions/fedora.py

index e27e7e27cf3eb9f1368eee73a2999179b438137f..c4d2bd5f4065517fad03aa96c06342196d0afefa 100644 (file)
@@ -41,6 +41,7 @@ class Installer(DistributionInstaller):
             "apt",
             "archlinux-keyring",
             "bash",
+            "binutils",
             "btrfs-progs",
             "bubblewrap",
             "ca-certificates",