You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/nixos-anywhere.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -301,11 +301,11 @@ if [[ ${is_os-n} != "Linux" ]]; then
301
301
abort "This script requires Linux as the operating system, but got $is_os"
302
302
fi
303
303
304
-
if [[ ${is_arch-n}!="x86_64" ]] && [[ $kexec_url=="$default_kexec_url" ]];then
305
-
abort "The default kexec image only support x86_64 cpus. Checkout https://github.com/numtide/nixos-anywhere/#using-your-own-kexec-image for more information."
306
-
fi
307
-
308
304
if [[ ${is_kexec-n}=="n" ]] && [[ ${is_installer-n}=="n" ]];then
305
+
if [[ ${is_arch-n}!="x86_64" ]] && [[ $kexec_url=="$default_kexec_url" ]];then
306
+
abort "The default kexec image only support x86_64 cpus. Checkout https://github.com/numtide/nixos-anywhere/#using-your-own-kexec-image for more information."
0 commit comments