Merge upstream #1

Merged
Greensky merged 26 commits from Miroir/archiso:master into master 2026-10-30 17:26:07 +00:00
Owner

Merge upstream changes

Merge upstream changes into the pull fork

# Merge upstream changes Merge upstream changes into the pull fork
Do not use line blocks. While losing the explicit line breaks in
regrettable, it is better than having a hard to read
https://man.archlinux.org/man/extra/archiso/mkarchiso.1.en
Make the change about not requiring to run as root more discoverable.
`iso` is the default buildmode, so there is not need to set it explicitly.

Document the default in `mkarchiso -h` and the mkarchiso(1) man page.
Just to note, README.profile.rst already documents it.
Set the correct type for the global variable and avoid unbound variable issues.
If a `bootstrap_tarball_compression` is not specified in `profiledef.sh`, simply
write the file using `bsdtar` instead of piping it through `cat`.
Redefine the `_unshare` function when running as root to avoid checking `EUID`
each time it is invoked.
There is no need to invoke `mkarchiso` via sudo (or run0, or similar
tools) since running as a regular, i.e. non-root, user is fully
supported.
Define a variable with the UEFI machine type short-name in lowercase and
use it in the menu entries for UEFI shell. This avoids a bunch of if/elif
blocks for each menu entry.
Do not fail if it is not possible to set up booting on IA32 UEFI.
Who knows how long boot loaders will even support mixed mode booting
since such systems are getting older and older.
Its only purpose was to override `/usr/lib/modprobe.d/broadcom-wl.conf`
that was shipped with the `broadcom-wl` package. Since the package was
previously removed from `configs/releng/packages.x86_64`, there is no
need for the modprobe.d override file anymore.
The default preset installed by mkinitcpio is good enough, so there is
no need to use a custom one. This simplifies changing the kernel when
customizing archiso profiles by having one less file to change/delete.
Somehow in the original commit
3b3984b484 ("mkarchiso: implement configurable bootstrap tarball compression")
I forgot to implement support for two of the three compressors that actually
matter.
zstd ships with a `pzstd` "parallel Zstandard" binary.
See https://github.com/facebook/zstd/blob/dev/contrib/pzstd/README.md

Set the correct filename extension (`.zst`) when using it.
Allow profiles to define architecture-specific kernel parameters using
variables such as kernel_params_aarch64 and kernel_params_x86_64.

Add support for these kernel parameters to all boot loader configs.
Some AArch64 systems depend on clocks and power domains left enabled by
firmware because the corresponding drivers do not claim them early enough.
Keep those resources enabled during boot and disable pointer authentication
to work around firmware issues on affected Snapdragon platforms.

These parameters were found in /boot/grub/grub.cfg on the Ubuntu Generic AArch64
ISO:

    clk_ignore_unused pd_ignore_unused arm64.nopauth

Apply them to the releng systemd-boot entries only when building for
AArch64.

Ubuntu Generic AArch64 ISO: https://cdimage.ubuntu.com/ubuntu/releases/resolute/release/ubuntu-26.04-desktop-arm64.iso

Related: https://gitlab.archlinux.org/archlinux/ports/aarch64/project-management/-/work_items/7
By Clover
* origin/merge-requests/462:
  releng: add AArch64 boot compatibility parameters
  mkarchiso: add architecture-specific kernel parameters

See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/462
Some AArch64 UEFI devices, including Windows on Arm laptops, require a
device tree to boot. A generic installation image cannot know in
advance which device tree matches the machine. Other distributions,
including Ubuntu, have started using stubble to solve this problem.

Use ukify to embed multiple device trees into a kernel EFI image.
Stubble selects and loads the matching device tree at boot using
systemd's hardware ID database.

Without stubble, the device trees would need to be copied to the EFI
system partition and selected by either the boot loader or a kernel
command-line parameter. That would introduce device-specific boot
configuration into an otherwise generic image.

For now, include the available Qualcomm device trees and exclude their
EL2 variants. Only generate stubble EFI images when the profile includes
stubble and ukify is available, allowing other profiles to continue
building normally.

Embedding the kernel and device trees in one EFI artifact may also
simplify future Secure Boot support because the resulting artifact can
be signed and verified as a single unit, similarly to a UKI.

Stubble: https://github.com/ubuntu/stubble
Ubuntu Generic AArch64 ISO: https://cdimage.ubuntu.com/ubuntu/releases/resolute/release/ubuntu-26.04-desktop-arm64.iso
Related: https://gitlab.archlinux.org/archlinux/ports/aarch64/project-management/-/work_items/7
Related: https://gitlab.archlinux.org/archlinux/ports/aarch64/project-management/-/work_items/13
By Clover
* origin/merge-requests/449:
  mkarchiso: add stubble support for AArch64
  configs/releng: add AArch64 package list

See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/449
* List new dependencies.
* Fix typos.
* Fix `run_archiso` parameters for booting in UEFI vs BIOS mode.
* Fix `gpg` command.
The Linux kernel dropped ATM uAPI headers and legacy ATM drivers in 8f9616500c, which is precisely the interfaces that linux-atm provides a userspace for. linux-atm therefore no longer builds since kernel 7.2.
By Benjamin Schneider
* origin/merge-requests/478:
  Remove linux-atm from releng profiles

See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/478
By Matej Dian
* origin/merge-requests/479:
  configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf: remove kms hook

See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/479
Update the memtest86+ x64 EFI binary name after
https://gitlab.archlinux.org/archlinux/packaging/packages/memtest86plus/-/merge_requests/2.

Support the IA32 (and also AA64 and LOONGARCH64, in theory) memtest86+
EFI binary and create boot entries for them.
Greensky merged commit 07a18e7d0d into master 2026-10-30 17:26:07 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Greensky/archiso!1
No description provided.