Unverified Commit 81c60e22 authored by Guillaume Girol's avatar Guillaume Girol Committed by GitHub
Browse files

Merge pull request #215378 from lilyinstarlight/fix/dracut-smaller-closure

dracut: reduce closure and suffix DRACUT_PATH
parents 7e3ba6ce 6e8889d4
Loading
Loading
Loading
Loading
+2 −16
Original line number Diff line number Diff line
@@ -10,24 +10,17 @@
, bash
, kmod
, binutils
, busybox
, bzip2
, coreutils
, cpio
, findutils
, glibc
, gnugrep
, gnused
, gnutar
, gzip
, kbd
, lvm2
, lz4
, lzop
, procps
, rng-tools
, squashfsTools
, systemd
, util-linux
, xz
, zstd
@@ -76,23 +69,16 @@ stdenv.mkDerivation rec {
    wrapProgram $out/bin/dracut --prefix PATH : ${lib.makeBinPath [
      coreutils
      util-linux
    ]} --prefix DRACUT_PATH : ${lib.makeBinPath [
    ]} --suffix DRACUT_PATH : ${lib.makeBinPath [
      bash
      binutils
      coreutils
      findutils
      glibc
      gnugrep
      gnused
      gnutar
      kbd
      lvm2
      procps
      rng-tools
      squashfsTools
      systemd
      stdenv.cc.libc  # for ldd command
      util-linux
      busybox
    ]}
    wrapProgram $out/bin/dracut-catimages --set PATH ${lib.makeBinPath [
      coreutils