systemd: fix path to stubs in ukify

This commit is contained in:
Linus Heckemann
2023-12-11 14:01:24 +01:00
parent 85f1ba3e51
commit 9e7e41c43d
+4 -1
View File
@@ -243,7 +243,10 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace src/ukify/ukify.py \
--replace \
"'readelf'" \
"'${targetPackages.stdenv.cc.bintools.targetPrefix}readelf'"
"'${targetPackages.stdenv.cc.bintools.targetPrefix}readelf'" \
--replace \
"/usr/lib/systemd/boot/efi" \
"$out/lib/systemd/boot/efi"
'' + (
let
# The following patches references to dynamic libraries to ensure that