Implement extension to our getopt parser and an --include option
Traditionally getopt only allows one argument for each flag. This extends the parser to allow multiple suffix ':'-characters to denote the number of intended arguments one should supply to the flag.
This implements the support for these flags: shortopts="i::" longopts=("include::")
Which is capable of parsingthe following: -i src dest --include src dest --include="src dest"
Signed-off-by: Morten Linderud morten@linderud.pw
This implements a way for users to include files into the initramfs after the creation as been done. This can be used to fix and hot-patch files on the initramfs, or in the future allows us to overwrite the init file for a test-suite.
Signed-off-by: Morten Linderud morten@linderud.pw