File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1313 executable = true ;
1414 name = "kexec-nixos" ;
1515 text = ''
16- #!${ pkgs . stdenv . shell }
17- export PATH=${ pkgs . kexectools } /bin:${ pkgs . cpio } /bin:$PATH
16+ #!${ pkgs . pkgsMusl . busybox } /bin/sh
17+ export PATH=${ pkgs . pkgsMusl . kexectools } /bin:${ pkgs . pkgsMusl . busybox } /bin
1818 set -x
1919 set -e
2020 cd $(mktemp -d)
3939 mkdir -p /mnt-root/root/.ssh/
4040 cp /authorized_keys /mnt-root/root/.ssh/
4141 '' ;
42- system . build . kexec_tarball = pkgs . callPackage <nixpkgs /nixos/lib/make-system-tarball.nix> {
42+ system . build . kexec_tarball = pkgs . callPackage ( pkgs . path + " /nixos/lib/make-system-tarball.nix" ) {
4343 storeContents = [
4444 { object = config . system . build . kexec_script ; symlink = "/kexec_nixos" ; }
4545 ] ;
46- contents = [ ] ;
46+ contents = [
47+ { source = image ; target = image ; }
48+ ] ;
4749 } ;
4850}
You can’t perform that action at this time.
0 commit comments