tinyramfs icon indicating copy to clipboard operation
tinyramfs copied to clipboard

lib/init.sh: fix parsing kernel cmdline

Open YukariChiba opened this issue 1 year ago • 0 comments

The kernel parses parameters from the kernel command line up to "--"; if it doesn't recognize a parameter and it doesn't contain a '.', the parameter gets passed to init: parameters with '=' go into init's environment, others are passed as command line arguments to init. Everything after "--" is passed as an argument to init.

Args after -- should be passed to the init process as init_args.

YukariChiba avatar Nov 28 '23 08:11 YukariChiba