Commit Graph

12 Commits

Author SHA1 Message Date
Fernando Rodrigues
a793b4db06
xen: do not assume version reflects the actual package version
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-13 14:43:55 -03:00
Fernando Rodrigues
a92df8c9b6
buildXenPackage: inherit everything from the top-level lib attribute
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-13 17:06:42 +00:00
Fernando Rodrigues
a1f03a04d4
xen: delete patching infrastructure
Overengineered for no good reason, especially since upstream Xen
recommends downstreams to use the latest stable branch anyway (instead
of the pinned release revision)

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-12 19:14:14 -03:00
Fernando Rodrigues
ffd38a7044
xen: resolve some TODO comments
- Migrates to the new platform declaration style.
- Removes the separate output TODO, as it is an impossible task.
- Removes some superfluous comments.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-12 21:54:58 +00:00
Fernando Rodrigues
e3b83d4525
xen: fix IPXE sourcing
`xl` needs a full path to the efirom executable.
This does not fix the qemu-dm issue. A stubdom is still required.

Reported-by: HeHongbo <hehongbo@mail.com>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-12 21:52:03 +00:00
HeHongbo
68bf0eb022 xen: patch with XSA-464 2024-11-12 21:46:26 +08:00
Fernando Rodrigues
d175e88817
xen: switch to seabios-qemu, use absolute path to firmware
Related: #342692
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-18 15:53:57 +00:00
Fernando Rodrigues
cf648c09cc
xen: make the EFI build mandatory
As binutils-efi no longer exists, there's no longer any reason to have
the withEFI flag. All supported builds should also build xen.efi.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-10 21:47:32 +00:00
Fernando Rodrigues
4f8f36e5ad
xen: replace binutils override with binutils-unwrapped-all-targets
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-07 03:02:27 +00:00
Fernando Rodrigues
9279ecc1c4
xen: nuke half of the builder
- Removes the non-slim build instructions, massively simplifying
everything in the package.

- Removes unecessary patches.

- Inherits functions from lib instead of repeating lib.* everywhere.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-06 20:24:27 +00:00
Fernando Rodrigues
d2bb9a9ca5
xen: revert minSupportedVersion to the upstream value.
As the builder is generic, more people may be using it, so we should try
to keep this value as close to the upstream source of truth as possible.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-06 15:55:40 -03:00
Fernando Rodrigues
1dad6fe5cb
xen: turn the generic builder into the buildXenPackage function
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
Co-authored-by: Yaroslav Bolyukin <iam@lach.pw>
2024-10-06 15:55:40 -03:00