Skip to content

Commit

Permalink
fpga-image: Enable all sysrq actions.
Browse files Browse the repository at this point in the history
These can be useful to debug a busted kernel.
  • Loading branch information
korran committed Jan 9, 2024
1 parent 76b8b66 commit 768ddbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci-tools/fpga-image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ if [[ -z "${SKIP_DEBOOTSTRAP}" ]]; then
chroot out/rootfs bash -c 'echo nameserver 2001:4860:4860::6464 > /etc/resolv.conf'
chroot out/rootfs bash -c 'echo nameserver 2001:4860:4860::64 >> /etc/resolv.conf'
chroot out/rootfs bash -c 'echo kernel.softlockup_panic = 60 >> /etc/sysctl.conf'
chroot out/rootfs bash -c 'echo kernel.sysrq = 1 >> /etc/sysctl.conf'

# Comment this line out if you don't trust folks with physical access to the
# uart
Expand Down

0 comments on commit 768ddbe

Please sign in to comment.