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

dracut: reduce closure and suffix DRACUT_PATH
This commit is contained in:
Guillaume Girol 2023-02-12 20:48:49 +00:00 committed by GitHub
commit 81c60e22d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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