mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
bisection: update section, add gem5 linux boot bisect script
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# https://github.com/cirosantilli/linux-kernel-module-cheat#bisection
|
||||
set -eu
|
||||
./build-linux --clean "$@"
|
||||
./build-linux "$@"
|
||||
set +e
|
||||
./run --eval 'm5 exit' "$@" || status=$?
|
||||
./run --quit-after-boot "$@" || status=$?
|
||||
# https://stackoverflow.com/questions/4713088/how-to-use-git-bisect/22592593#22592593
|
||||
if [ "$status" -eq 125 ] || [ "$status" -gt 127 ]; then
|
||||
status=1
|
||||
|
||||
Reference in New Issue
Block a user