Add main to subiquity, and use it frm make ui-view.
Add a main to subiquity so that you can run subiquity with: python3 -m subiquity
This commit is contained in:
parent
865afe700b
commit
74a5f16535
4
Makefile
4
Makefile
|
@ -33,10 +33,10 @@ dryrun: probert i18n
|
|||
$(MAKE) ui-view DRYRUN="--dry-run --uefi"
|
||||
|
||||
ui-view:
|
||||
(bin/$(PYTHONSRC)-tui $(DRYRUN) $(MACHARGS))
|
||||
$(PYTHON) -m subiquity $(DRYRUN) $(MACHARGS)
|
||||
|
||||
ui-view-serial:
|
||||
(TERM=att4424 bin/$(PYTHONSRC)-tui $(DRYRUN) --serial)
|
||||
(TERM=att4424 $(PYTHON) -m subiquity $(DRYRUN) --serial)
|
||||
|
||||
lint: flake8
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
from subiquity.cmd.tui import main
|
||||
sys.exit(main())
|
Loading…
Reference in New Issue