[Pkg-systemd-maintainers] Bug#744301: systemd: [PATCH] Provide a kernel-install package and enable EFI support
Julian Andres Klode
jak at debian.org
Sat Apr 12 17:45:45 BST 2014
Package: systemd
Severity: wishlist
systemd ships kernel-install which can be used to install kernels
for boot loaders conforming to the boot loader spec, such as gummiboot,
barebox, and potentially others I am not aware of.
This is implemented in:
http://anonscm.debian.org/gitweb/?p=users/jak/systemd.git;a=summary
git://anonscm.debian.org/git/users/jak/systemd.git
Notably, I cherry-picked the upstream commits for src/kernel-install,
and then changed all paths from /boot to /boot/efi, and added a
kernel-install package. Finally, I enabled EFI support.
Note that this patch set hard-codes /boot/efi for the boot loader
stuff. This is because /boot/efi is used by d-i on EFI installations
and because our kernels install to /boot directly, so we cannot
mount the ESP at /boot, as that would conflict with the goal of a
shared ESP partition.
For non-UEFI platforms this choice is a bit sub-optimal from a
name perspective, but I believe it is the best we can do, the
other alternatives I imagined would be:
* Use kernel preinst hooks to divert kernel installations to
/boot/$MACHINE_ID/$KERNEL_VERSION/{vmlinuz,initrd}
* Create a symlink farm in /boot, pointing to the contents of
/boot/efi
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (980, 'unstable'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii acl 2.2.52-1
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53
ii libacl1 2.2.52-1
ii libaudit1 1:2.3.4-1
ii libc6 2.18-4
ii libcap2 1:2.22-1.2
ii libcap2-bin 1:2.22-1.2
ii libcryptsetup4 2:1.6.4-4
ii libdbus-1-3 1.8.0-3
ii libgcrypt11 1.5.3-4
ii libkmod2 16-2
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3
ii libselinux1 2.2.2-1
ii libsystemd-daemon0 204-9
ii libsystemd-id128-0 204-9
ii libsystemd-journal0 204-9
ii libsystemd-login0 204-9
ii libudev1 204-9
ii libwrap0 7.6.q-25
ii sysv-rc 2.88dsf-53
ii udev 204-9
ii util-linux 2.20.1-5.7
Versions of packages systemd recommends:
ii libpam-systemd 204-9
Versions of packages systemd suggests:
ii systemd-ui 3-1
-- no debconf information
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Please do not top-post if possible.
More information about the Pkg-systemd-maintainers
mailing list