fix run-toolchain, qemu-monitor, trace-boot, trace2line, bisect-linux-boot-gem5. Fixes part of #63

I'm sad no one reported qemu-monitor break, that one is kind of important.

count.out arguments broke it as an init program, since the kernel adds trash
parameters to every init.

Is anyone using this repo, I wonder? Keep pushing, keep pushing.
One day it gets good enough, and the whole world will see.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-12 00:00:00 +00:00
parent 3cc1b793cb
commit fe9c31f737
13 changed files with 214 additions and 184 deletions

6
run
View File

@@ -56,7 +56,7 @@ which is what you usually want.
'-E',
'--eval',
help='''\
Replace the normal init with a minimal init that just evals the given string.
Replace the normal init with a minimal init that just evals the given sh string.
See: https://github.com/cirosantilli/linux-kernel-module-cheat#replace-init
chdir into lkmc_home before running the command:
https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc_home
@@ -66,8 +66,8 @@ https://github.com/cirosantilli/linux-kernel-module-cheat#lkmc_home
'-F',
'--eval-after',
help='''\
Pass a base64 encoded command line parameter that gets evalled at the end of
the normal init.
Similar to --eval, but the string gets evaled at the last init script,
after the normal init finished.
See: https://github.com/cirosantilli/linux-kernel-module-cheat#init-busybox
'''
)