[PATCH] x86_64: add systemd-boot images

Jonas Lochmann openwrt at jonaslochmann.de
Wed Dec 31 01:34:11 PST 2025


Am Tue, Dec 30, 2025 at 09:12:06PM +0100, schrieb Stefan Hellermann:
> Hi,
> 
> I integrated this patch into another tree without the packages feed. Then I
> get errors about missing dependencies:
> 
> WARNING: Makefile 'package/boot/systemd-boot/Makefile' has a build
> dependency on 'python-pyelftools/host', which does not exist
> WARNING: Makefile 'package/boot/systemd-boot/Makefile' has a build
> dependency on 'python-jinja2/host', which does not exist
> 
> and later python3 is missing:
> [...]
> 
> No easy fix :-) I think it will be difficult to integrate all the
> dependencies into openwrt in order to compile the entire systemd with it...

I just use a recent OpenWrt release candidate and both dependencies
are packed there.

> Have you thought about integrating the boot cmdline into the kernel
> (CONFIG_CMDLINE) and just put the kernel to /boot/efi/boot/bootx64.efi ? Or
> the new UKI-Format?

Yes, and this prevents editing the boot parameters which is something
that the sysupgrade does. Editing the binary file could work, but is
something I consider a bad idea.



More information about the openwrt-devel mailing list