Fix incorrect assumption that -- is needed in kernel CLI

This commit is contained in:
Ciro Santilli
2023-01-12 13:40:04 +00:00
parent ddeb36db14
commit 99c0c25ad0
2 changed files with 59 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/sh
# To be able to do init=/gem5_exit.sh, since kernel CLI argument passing is too messy:
# https://cirosantilli.com/linux-kernel-module-cheat#init-arguments
# This should not be needed anymore after we learned that it should be -- instead of -.
# You should be instead able to just use something init=/bin/sh -- -c 'm5 exit'
# https://github.com/cirosantilli/linux-kernel-module-cheat/pull/226
m5 exit