forked from Mirror/pmbootstrap
* Implement command to retrieve and set configuration values * qemu: show advice to use "pmbootstrap config" * Allow "pmbootstrap config" without positional arguments (prints the full config) * Check valid variable names
This commit is contained in:
parent
ab1bcd2e6f
commit
401c29af76
4 changed files with 34 additions and 1 deletions
|
@ -40,7 +40,8 @@ def system_image(args, device):
|
|||
logging.debug("Could not find system image: " + path)
|
||||
img_command = "pmbootstrap install"
|
||||
if device != args.device:
|
||||
img_command = "pmbootstrap init' and '" + img_command
|
||||
img_command = ("pmbootstrap config device " + device +
|
||||
"' and '" + img_command)
|
||||
message = "The system image '{0}' has not been generated yet, please" \
|
||||
" run '{1}' first.".format(device, img_command)
|
||||
raise RuntimeError(message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue