mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
bisect: use current script directory to call other scripts
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
# https://cirosantilli.com/linux-kernel-module-cheat#bisection
|
||||
set -eu
|
||||
git submodule update --recursive
|
||||
cd ../..
|
||||
./build-qemu --arch aarch64 --qemu-build-id bisect
|
||||
./run --arch aarch64 --qemu-build-id bisect --quit-after-boot
|
||||
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
"${root_dir}/build-qemu" --arch aarch64 --qemu-build-id bisect
|
||||
"${root_dir}/run" --arch aarch64 --qemu-build-id bisect --quit-after-boot
|
||||
|
||||
Reference in New Issue
Block a user