mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Support building only sysa with chroot mode
This is intended primarily for external build systems that directly bind into sysa and sysc rather than using rootfs Python wrapper.
This commit is contained in:
parent
c67da3eb8e
commit
56cab8bb71
2 changed files with 4 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ def create_configuration_file(args):
|
|||
with open(config_path, "w", encoding="utf_8") as config:
|
||||
config.write("FORCE_TIMESTAMPS=" + str(args.force_timestamps) + "\n")
|
||||
config.write("CHROOT=" + str(args.chroot or args.bwrap) + "\n")
|
||||
config.write("CHROOT_ONLY_SYSA=False\n")
|
||||
config.write("UPDATE_CHECKSUMS=" + str(args.update_checksums) + "\n")
|
||||
config.write("DISK=sda1\n")
|
||||
|
||||
|
|
|
|||
|
|
@ -250,4 +250,6 @@ fi
|
|||
# In chroot mode transition directly into System C.
|
||||
SYSC=/sysc_image
|
||||
sys_transfer "${SYSC}" /sysc gzip patch
|
||||
exec chroot "${SYSC}" /init
|
||||
if [ "${CHROOT_ONLY_SYSA}" != True ]; then
|
||||
exec chroot "${SYSC}" /init
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue