mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 09:45:24 +01:00
Merge pull request #224 from doraskayo/bwrap-error-and-docs
Mention bubblewrap bootstrap mode in error messages and documentation
This commit is contained in:
commit
0b7cd62f73
2 changed files with 5 additions and 4 deletions
|
|
@ -156,8 +156,8 @@ sysc
|
||||||
sysc is the (current) last 'system' of live-bootstrap. This is a continuation
|
sysc is the (current) last 'system' of live-bootstrap. This is a continuation
|
||||||
from sysb, executed through util-linux's ``switch_root`` command which moves
|
from sysb, executed through util-linux's ``switch_root`` command which moves
|
||||||
the entire rootfs without a reboot. Every package from here on out is compiled
|
the entire rootfs without a reboot. Every package from here on out is compiled
|
||||||
under this system, taking binaries from sysa. Chroot mode skips sysb, as it
|
under this system, taking binaries from sysa. Chroot and bubblewrap modes skip
|
||||||
is obviously irrelevant for a chroot.
|
sysb, as it is obviously irrelevant to them.
|
||||||
|
|
||||||
Python-less build
|
Python-less build
|
||||||
-----------------
|
-----------------
|
||||||
|
|
|
||||||
|
|
@ -104,9 +104,10 @@ def main():
|
||||||
return count
|
return count
|
||||||
|
|
||||||
if check_types() > 1:
|
if check_types() > 1:
|
||||||
raise ValueError("No more than one of qemu, chroot, minikernel, bare metal may be used.")
|
raise ValueError("No more than one of qemu, chroot, bwrap, minikernel, bare metal "
|
||||||
|
"may be used.")
|
||||||
if check_types() == 0:
|
if check_types() == 0:
|
||||||
raise ValueError("One of qemu, chroot, minikernel or bare metal must be selected.")
|
raise ValueError("One of qemu, chroot, bwrap, minikernel or bare metal must be selected.")
|
||||||
|
|
||||||
if args.bare_metal:
|
if args.bare_metal:
|
||||||
args.no_create_config = True
|
args.no_create_config = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue