commit: 0b7cd62f7390976ef3b50977da511fe51d5d347d
parent 13f8dabd891eae127b7fb14909803cd03b957021
Author: fosslinux <fosslinux@aussies.space>
Date: Sun, 15 Jan 2023 14:53:00 +1100
Merge pull request #224 from doraskayo/bwrap-error-and-docs
Mention bubblewrap bootstrap mode in error messages and documentation
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/README.rst b/README.rst
@@ -156,8 +156,8 @@ sysc
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
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
-is obviously irrelevant for a chroot.
+under this system, taking binaries from sysa. Chroot and bubblewrap modes skip
+sysb, as it is obviously irrelevant to them.
Python-less build
-----------------
diff --git a/rootfs.py b/rootfs.py
@@ -104,9 +104,10 @@ def main():
return count
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:
- 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:
args.no_create_config = True