Merge pull request #261692 from josephst/fix-lxc-container-bootloader
nixos/lxc-container: use absolute path for ln in install-lxc-sbin-init.sh
This commit is contained in:
commit
49bc1a76e0
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ in {
|
||||||
|
|
||||||
system.build.installBootLoader = pkgs.writeScript "install-lxd-sbin-init.sh" ''
|
system.build.installBootLoader = pkgs.writeScript "install-lxd-sbin-init.sh" ''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
ln -fs "$1/init" /sbin/init
|
${pkgs.coreutils}/bin/ln -fs "$1/init" /sbin/init
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.additionalUpstreamSystemUnits = lib.mkIf cfg.nestedContainer ["systemd-udev-trigger.service"];
|
systemd.additionalUpstreamSystemUnits = lib.mkIf cfg.nestedContainer ["systemd-udev-trigger.service"];
|
||||||
|
|
Loading…
Reference in a new issue