stboot: Add host-config flag
Created by: sylv-io
This PR implements the host-config flag. #41 (closed)
Add -host-config
flag to define the location of the host configuration
file. In the current state, there are 3 ways to store this configuration:
- inside initramfs: -host-config=/path/to/host_configuration.json
- as efivar: -host-config=efivar:STDATA-d736a263-c838-4702-9df4-50134ad8a636
- inside STBOOT at a fix location: -host-config=legacy
Signed-off-by: Marcello Sylvester Bauer sylv@sylv.io