Assembles a ready-to-write disk image via Gitea Actions. Mainline has carried sdm850-lenovo-yoga-c630.dts since 5.5 and Fedora ships it in kernel-core, so unlike aarch64-laptops/build there is no kernel or GRUB to compile — what is left is producing an image that boots on firmware which hands Linux no device tree. The build runs in an aarch64 container under qemu-user and builds filesystems from directory trees with mke2fs -d and mcopy rather than mounting loop devices, so it works on runners that will not hand out /dev/loop-control. A kernel-install hook writes the devicetree line into each BLS entry; without it the first `dnf update kernel` would produce an unbootable system. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XWRjNJMistCy6ngXH5aJLS
14 lines
474 B
Plaintext
14 lines
474 B
Plaintext
GRUB_TIMEOUT=5
|
|
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
|
|
GRUB_DEFAULT=saved
|
|
GRUB_DISABLE_SUBMENU=true
|
|
GRUB_TERMINAL_OUTPUT="console"
|
|
GRUB_CMDLINE_LINUX="@DEVICE_CMDLINE@"
|
|
GRUB_DISABLE_RECOVERY=true
|
|
GRUB_ENABLE_BLSCFG=true
|
|
|
|
# Consumed by grub2-mkconfig on aarch64. The BLS entries carry their own
|
|
# `devicetree` line as well (written by 95-c630-devicetree.install), because
|
|
# kernel-install does not read this file.
|
|
GRUB_DEFAULT_DTB=/dtb/@DEVICE_DTB@
|