activation: remove initrd

This commit is contained in:
Rouven Seifert 2024-03-28 22:08:25 +01:00
parent 6bfd7c8e9c
commit aa86572079
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -16,8 +16,8 @@
F_BOLD="\033[1m" F_BOLD="\033[1m"
C_RED="\033[38;5;9m" C_RED="\033[38;5;9m"
${pkgs.diffutils}/bin/cmp --silent \ ${pkgs.diffutils}/bin/cmp --silent \
<(readlink /run/current-system/{initrd,kernel,kernel-modules}) \ <(readlink /run/current-system/{kernel,kernel-modules}) \
<(readlink $systemConfig/{initrd,kernel,kernel-modules}) \ <(readlink $systemConfig/{kernel,kernel-modules}) \
|| echo -e "''${F_BOLD}''${C_RED}Kernel version changed, reboot is advised.''${NO_FORMAT}" || echo -e "''${F_BOLD}''${C_RED}Kernel version changed, reboot is advised.''${NO_FORMAT}"
''; '';