Legacy (CBM) schema specification tracker issue #13
Labels
priority: immediate
Should be immediately addressed.
type: documentation
Improvements or additions to documentation.
type: feature
A new functionality to implement.
This issue is intended to be the focal point for the discussion surrounding how to replace CBM in Solus with the
blsctl
tool being developed as part of theblsforme
project in Serpent.Status: legacy schema is being agreed upon
Stakeholders: @ikeycode @ReillyBrogan @silkeh
Related issues:
The legacy schema is implemented by
clr-boot-manager
(CBM). The schema does not cover all features used by CBM, only the ones that are used by Solus.Configuration
/etc/kernel/cmdline.d/*.conf
,/usr/lib64/kernel/cmdline.d/*.conf
:/etc/kernel/cmdline-removal.d/*.conf
:/etc/kernel/update_efi_vars
:/etc/kernel/initrd.d/*
,/usr/lib64/kernel/initrd.d
:/etc/kernel/timeout
: bootloader menu timeout in seconds. Only contains values >0./etc/kernel/console_mode
: console mode for systemd-boot, see Add commands for configuring systemd console-mode getsolus/clr-boot-manager#5.Kernels
Kernels are identified using
<project>.<variant>.<version>-<release>
. For examplecom.solus-project.current.6.9.8-294
. Higher releases represent newer versions in the project and variant. Multiple variants can exist at the same time (eg:current
,lts
).A kernel and kernel-related packages provide the following files in
/usr/lib64/kernel/
:cmdline-<version>-<release>.<variant>
: additional cmdline values for this kernel.config-<version>-<release>.<variant>
: kernel config with which it was built.<project>.<variant>.<version>-<release>
: the kernel.initrd-<project>.<variant>.<version>-<release>
: the main initrd.initrd-<project>.<variant>.<version>-<release>.*
: optional initrd extensionsAdditionally, the following paths are provided:
/usr/lib64/modules/<version>-<release>.<variant>/
: kernel modules.These files are removed by CBM when the kernel is cleaned up.
Boot loaders
Supported boot loaders are Grub (without secure boot) and systemd-boot with secure boot shim.
Grub
Grub is only used for BIOS systems. The following partition layouts are used:
/boot
partition./boot
partition.TODO: document where files are placed exactly and how Grub config looks
Systemd boot
Only used for EFI. A single layout is used with a separate EFI
TODO: expand on supported configurations and secure boot.
CLI
From the manpage:
Services
CBM provides the following services:
clr-boot-manager-mount-boot.service
(disabled by default), on which services can depend if they expect/boot
to be mounted:clr-boot-manager-booted.service
(enabled by default), that is used to mark a kernel as being booted correctly:The text was updated successfully, but these errors were encountered: