Skip to content

Commit a2afa5f

Browse files
committed
docs: add comments explaining systemd-boot vs systemd-boot-efi in ubuntu uki stages
1 parent cbf9af0 commit a2afa5f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Containerfile.ubuntu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ RUN mkdir -p /usr/share/efi/EFI/ubuntu && \
7373
# ---------------------------------------------------------------------------
7474
FROM rootfs-base AS rootfs-uki
7575

76+
# systemd-boot: provides bootctl (boot entry management, needed by cbootc at runtime).
77+
# systemd-boot-efi: provides the systemd-bootx64.efi binary copied to the ESP by cbootc install.
78+
# Ubuntu splits these into two packages; on Fedora both are in systemd-boot-unsigned.
7679
RUN apt-get update && apt-get install -y --no-install-recommends \
7780
systemd-boot \
7881
systemd-boot-efi \
@@ -84,6 +87,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
8487
# ---------------------------------------------------------------------------
8588
FROM rootfs-base AS rootfs-uki-sb
8689

90+
# Same rationale as rootfs-uki above.
8791
RUN apt-get update && apt-get install -y --no-install-recommends \
8892
systemd-boot \
8993
systemd-boot-efi \

0 commit comments

Comments
 (0)