mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
The current implementation causes issues when the command line contains arguments to be passed to /init after "--". Instead we can prepend that at the beginning of the cmdline. From: https://www.kernel.org/doc/html/v6.12/admin-guide/kernel-parameters.html > Everything after “--” is passed as an argument to init. Example of problematic case: ``` Kernel command line: panic=0 init=/init console=ttyS0 earlyprintk=ttyS0 -- echo hello | nc -l -p 8080 initrd=initrd [init] running command echo hello | nc -l -p 8080 initrd=initrd ... [init] running command echo hello | nc -l -p 8080 initrd=initrd nc: exec initrd=initrd: No such file or directory ``` Signed-off-by: Miguel Flores Ruiz de Eguino <miguelfrde@google.com> |
||
|---|---|---|
| .. | ||
| GenericQemuLoadImageLib.c | ||
| GenericQemuLoadImageLib.inf | ||