forked from mirrors/nixpkgs
google-compute-engine: run systemctl of the currently running systemd
This commit is contained in:
parent
2d5de92f8e
commit
d69f95e2fe
|
@ -29,7 +29,7 @@ buildPythonApplication rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
for file in $(find google_compute_engine -type f); do
|
for file in $(find google_compute_engine -type f); do
|
||||||
substituteInPlace "$file" \
|
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 /bin/bash "${bashInteractive}/bin/bash" \
|
||||||
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
|
--replace /sbin/hwclock "${utillinux}/bin/hwclock"
|
||||||
# SELinux tool ??? /sbin/restorecon
|
# SELinux tool ??? /sbin/restorecon
|
||||||
|
|
Loading…
Reference in a new issue