Merge pull request #171247 from K900/systemd-boot-coreutils-mktemp

systemd-boot: use mktemp from coreutils in installer
This commit is contained in:
Rick van Schijndel 2022-05-03 19:15:55 +02:00 committed by GitHub
commit ec4686ee14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ let
netbootxyz = if cfg.netbootxyz.enable then pkgs.netbootxyz-efi else "";
copyExtraFiles = pkgs.writeShellScript "copy-extra-files" ''
empty_file=$(mktemp)
empty_file=$(${pkgs.coreutils}/bin/mktemp)
${concatStrings (mapAttrsToList (n: v: ''
${pkgs.coreutils}/bin/install -Dp "${v}" "${efi.efiSysMountPoint}/"${escapeShellArg n}