diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-03-08 17:11:39 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-05-23 10:23:47 +0200 |
commit | d26971bb37743fc7253acad4a4a49806601df040 (patch) | |
tree | 264bb5c80df1bcd0ef5410aa83bb547afdce9da7 | |
parent | 4a1fef87d51621ac00bdebade3ed51f8aaa1a1ca (diff) |
qemu_v8: Add auto-mounting of debugfs
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rwxr-xr-x | br-ext/board/qemu/post-build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/br-ext/board/qemu/post-build.sh b/br-ext/board/qemu/post-build.sh index eb0abc0..caef382 100755 --- a/br-ext/board/qemu/post-build.sh +++ b/br-ext/board/qemu/post-build.sh @@ -41,3 +41,7 @@ if [[ $PSS_AUTOMOUNT == "y" ]]; then echo "secure /data/tee 9p trans=virtio,version=9p2000.L,msize=65536,rw 0 0" >> "$TARGET_DIR"/etc/fstab echo "[+] persistent secure storage mount added to fstab" fi + +# Auto-mount debugfs +grep debugfs ${TARGET_DIR}/etc/fstab > /dev/null || \ +echo "debugfs /sys/kernel/debug debugfs defaults 0 0" >> ${TARGET_DIR}/etc/fstab |