3
0
Fork 0
forked from mirrors/nixpkgs

google-compute-engine: run systemctl of the currently running systemd

This commit is contained in:
Florian Klink 2020-05-21 10:35:34 +02:00
parent 2d5de92f8e
commit d69f95e2fe

View file

@ -29,7 +29,7 @@ buildPythonApplication rec {
postPatch = ''
for file in $(find google_compute_engine -type f); do
substituteInPlace "$file" \
--replace /bin/systemctl "/run/current-system/sw/bin/systemctl" \
--replace /bin/systemctl "/run/current-system/systemd/bin/systemctl" \
--replace /bin/bash "${bashInteractive}/bin/bash" \
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
# SELinux tool ??? /sbin/restorecon