git.iko.soy/typeable/nixpkgs
on master help sign in
systemd: Build EFI image
commit66d5ca6f420a07e90290a0e1c54817e6499e745c authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 31 May 2016, 16:52 (11 years ago) parenta2cb4a1
1 file changed+7−2
pkgs/os-specific/linux/systemd/default.nix+7−2
pkgs/os-specific/linux/systemd/default.nix+7−2
@@ -2,7 +2,7 @@
22, zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi
33, glib, kbd, libxslt, coreutils, libgcrypt, libgpgerror, libapparmor, audit, lz4
44, kexectools, libmicrohttpd, linuxHeaders ? stdenv.cc.libc.linuxHeaders, libseccomp
5−, iptables
5+, iptables, gnu-efi
66, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
77, enableKDbus ? false
88}:
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 [ linuxHeaders pkgconfig intltool gperf libcap kmod xz pam acl
3535 /* cryptsetup */ libuuid m4 glib libxslt libgcrypt libgpgerror
3636 libmicrohttpd kexectools libseccomp libffi audit lz4 libapparmor
37− iptables
37+ iptables gnu-efi
3838 /* FIXME: we may be able to prevent the following dependencies
3939 by generating an autoconf'd tarball, but that's probably not
4040 worth it. */
@@ -72,6 +72,11 @@ stdenv.mkDerivation rec {
7272 "--disable-ldconfig"
7373 "--disable-smack"
7474
75+ "--enable-gnuefi"
76+ "--with-efi-libdir=${gnu-efi}/lib"
77+ "--with-efi-includedir=${gnu-efi}/include"
78+ "--with-efi-ldsdir=${gnu-efi}/lib"
79+
7580 "--with-sysvinit-path="
7681 "--with-sysvrcnd-path="
7782 "--with-rc-local-script-path-stop=/etc/halt.local"