ignore initrd when updating
All checks were successful
Hydra nixosConfigurations.rainbow-resort Hydra build #27424 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #27425 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.oracle-installer Hydra build #27422 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.pc-installer Hydra build #27423 of nixos-config:pr618:nixosConfigurations.pc-installer
All checks were successful
Hydra nixosConfigurations.rainbow-resort Hydra build #27424 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #27425 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.oracle-installer Hydra build #27422 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.pc-installer Hydra build #27423 of nixos-config:pr618:nixosConfigurations.pc-installer
This commit is contained in:
parent
8822957cdf
commit
fe1b3a879b
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ with lib;
|
||||||
if cfg.reboot then
|
if cfg.reboot then
|
||||||
''
|
''
|
||||||
${switchToConfiguration} boot
|
${switchToConfiguration} boot
|
||||||
booted="$(${pkgs.coreutils}/bin/readlink /run/booted-system/{initrd,kernel,kernel-modules})"
|
booted="$(${pkgs.coreutils}/bin/readlink /run/booted-system/{kernel,kernel-modules})"
|
||||||
built="$(${pkgs.coreutils}/bin/readlink ${output}/{initrd,kernel,kernel-modules})"
|
built="$(${pkgs.coreutils}/bin/readlink ${output}/{kernel,kernel-modules})"
|
||||||
if [ "$booted" = "$built" ]; then
|
if [ "$booted" = "$built" ]; then
|
||||||
${switchToConfiguration} switch
|
${switchToConfiguration} switch
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue