Bug#788788: add efivars automount fix to Jessie

Pearson, Greg greg.pearson at hp.com
Sun Jun 14 21:43:11 BST 2015


Package: systemd
Version: 215-17+deb8u1
Severity: normal

I'd like to request the following commit be pulled back to the Jessie version of systemd.

commit 93fe4ec754a915c023ae341f05d29565e41a2c0e
Author: Martin Pitt <martin.pitt at ubuntu.com>
Date:   Thu Jan 22 14:49:33 2015 +0100

    Enable EFI support
    
    This mostly auto-mounts /sys/firmware/efi/efivars, but also provides a
    generator for auto-detecting the root and the /boot/efi partition if they
    aren't in /etc/fstab.
    
    Closes: #773533

diff --git a/debian/changelog b/debian/changelog
index 02099fb..124ff92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,9 @@ systemd (218-5) UNRELEASED; urgency=medium
     containers.
   * Fix assertion failure due to /dev/urandom being unmounted when shutting
     down unprivileged containers. Thanks Stéphane Graber.
+  * Enable EFI support. This mostly auto-mounts /sys/firmware/efi/efivars, but
+    also provides a generator for auto-detecting the root and the /boot/efi
+    partition if they aren't in /etc/fstab. (Closes: #773533)
 
  -- Martin Pitt <mpitt at debian.org>  Thu, 22 Jan 2015 08:00:27 +0100
 
diff --git a/debian/rules b/debian/rules
index 831e59b..10bdad5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,6 @@ CONFFLAGS = \
        --with-telinit=/lib/sysvinit/telinit \
        --enable-split-usr \
        --disable-coredump \
-       --disable-efi \
        --disable-myhostname \
        --disable-vconsole \
        --disable-microhttpd \
diff --git a/debian/systemd.install b/debian/systemd.install
index dbde7c1..0e652dd 100644
--- a/debian/systemd.install
+++ b/debian/systemd.install
@@ -26,6 +26,7 @@ usr/bin/systemd-detect-virt
 usr/bin/systemd-delta
 usr/bin/systemd-run
 usr/bin/systemd-path
+usr/bin/bootctl
 usr/bin/busctl
 usr/bin/timedatectl
 usr/bin/localectl

We are layering Secure Boot on top of Debian Jessie and this change would be helpful so "efivars" is mounted on boot.

It looks like a very low risk change.

Thanks

--
Greg




More information about the Pkg-systemd-maintainers mailing list