feat: the kernel, initrd, firmware, bootloaders and installer move to plans/keel-boot #47
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/common!47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/boot-layer-plan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decision 0052, point 1: a separate boot layer per appliance, used only by the ISO. The kernel, initrd, firmware, bootloaders and installer leave the shared layers, so the container template never carries them.
Change
plans/turnkey/baseno longer includesplans/bootand no longer lists grub-pc, tkl-installer, efivar, eject, jitterentropy-rngd, qemu-guest-agent or acpi-support-base. It now listssystemdandsystemd-sysvitself, becauseplans/bootused to bring them.plans/keel-bootholds all of them (#include <boot>plus the list above). Keel-Linux/buildtasksproducts/bootbuilds it withbt-layer --boot APP.overlays/keel-bootandconf/keel-boot.grub-debugis split in two: its journald half (ForwardToWall=no) is something a container needs as well, so it moves toconf/turnkey.d/journald-no-wall.mk/turnkey-desktop.mknow points at the moved overlay.tests/plans-boot.batsresolves the plans with cpp the way fab-plan-resolve does. It fails ifturnkey/basenames a package thatkeel assemblerefuses in a template. CI now installscpp.Why each package is VM-only
These stay in the container: lvm2, parted and fdisk (webmin-lvm and webmin-fdisk depend on them), kmod, udev, file, zstd and man-db.
Measured
The published core 19.0-9 and web 19.0-4 layers were assembled locally with
keel assemble, and the same set of packages was then purged with dpkg.dpkg --auditcame back clean andapt-get checkpassed.Cheap wins I checked, none of which needs a change: the apt lists and caches are already empty, because fab cleans them and bt-layer excludes
var/cache/apt./var/logholds 13 KB. Locale and man path-excludes are already in place through localepurge, which keepsman[0-9]. There are no doc path-excludes and none were added (/usr/share/docis 33 MB).Merge order
bt-layer --boot).keel-releasedoes not rebuild a layer whose tarball still matches its manifest, so run it with--rebuild.If keel is merged before the layers are rebuilt, it refuses the old layers.