Re: [OE-core] [PATCH v8] systemd: update to v254

Alexandre Belloni
2023-08-06T13:22:26Z

On 06/08/2023 14:15:27+0100, Luca Bocassi wrote:
> Where does that objcopy command come from? It looks awfully like it is
> hard-coding VMAs? That cannot possibly work reliably, the actual VMAs
> have to be calculated based on the components being added to the PE.
> I'd recommend to use 'ukify' as that makes it much easier, and
> actually we have an intern working to add a bbclass for that just now.
> But it's not needed, you can do the calculations by hand too, dracut
> used to do something similar and was fixed some months ago iirc.

This is from do_prepare_partition in scripts/lib/wic/plugins/source/bootimg-efi.py

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering