kexec-installer: re-enable kexec-syscall-auto
Seems like GCP changed something about their boot process and the same instance types that failed to kexec, now just works. This fixes secureboot as well: https://github.com/nix-community/nixos-images/issues/128
This commit is contained in:
parent
3067fe0c60
commit
f11fd49c78
1 changed files with 1 additions and 1 deletions
|
@ -52,8 +52,8 @@ done
|
||||||
|
|
||||||
find . | cpio -o -H newc | gzip -9 >> "$SCRIPT_DIR/initrd"
|
find . | cpio -o -H newc | gzip -9 >> "$SCRIPT_DIR/initrd"
|
||||||
|
|
||||||
# Dropped --kexec-syscall-auto because it broke on GCP...
|
|
||||||
if ! "$SCRIPT_DIR/kexec" --load "$SCRIPT_DIR/bzImage" \
|
if ! "$SCRIPT_DIR/kexec" --load "$SCRIPT_DIR/bzImage" \
|
||||||
|
--kexec-syscall-auto \
|
||||||
--initrd="$SCRIPT_DIR/initrd" --no-checks \
|
--initrd="$SCRIPT_DIR/initrd" --no-checks \
|
||||||
--command-line "init=$init $kernelParams"; then
|
--command-line "init=$init $kernelParams"; then
|
||||||
echo "kexec failed, dumping dmesg"
|
echo "kexec failed, dumping dmesg"
|
||||||
|
|
Loading…
Reference in a new issue