logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

configurator (3472B)


  1. # SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. #
  5. # The structure of this file:
  6. # <option type> <id> <variable> <type> <default> <short description>
  7. # <long description>
  8. #
  9. # repeat
  10. m /general _ _ _ General configuration
  11. Settings for how you would like live-bootstrap to run.
  12. o /general/timestamps FORCE_TIMESTAMPS bool False Zero timestamps at end
  13. At the end of the bootstrap, set the timestamps of all files to 0 UNIX time.
  14. o /general/swap SWAP_SIZE size 0 Swap size
  15. The size of a swapfile to be created once swap is supported in live-bootsrap.
  16. Intended for systems with low RAM.
  17. o /general/kernel_bootstrap KERNEL_BOOTSTRAP bool True Use the kernel bootstrap
  18. This only applies if you are not in a chroot-like environment. You should
  19. already know whether you want this flag or not. If you booted using
  20. builder-hex0, this flag should be true; if you booted using your own Linux
  21. kernel, this flag should be false.
  22. o /general/interactive INTERACTIVE bool True Drop to a shell post-bootstrap
  23. At the end of the bootstrap, drop to a shell which you can do further things
  24. in.
  25. o /general/disk DISK "" _ [IMPORTANT] [DANGER] Disk
  26. live-bootstrap needs a disk which the final system will be installed onto.
  27. This should be in the form of the name of the device node, eg sda. If you
  28. have externally downloaded sources or the like, place in here the device
  29. node with the appropriate partition, eg sda1.
  30. Disclaimer for bare metal users:
  31. It is highly recommended that all disks other than this disk are removed
  32. from the system to avoid accidental data loss. It is vital that you choose
  33. this correctly, otherwise you risk overwriting an existing disk on your
  34. system. LIVE-BOOTSTRAP TAKES NO LIABILITY FOR ANY DATA LOSS RESULTING FROM
  35. ITS USE.
  36. m /sysinfo _ _ _ System information
  37. Details about your specific system and the environment live-bootstrap is
  38. running in.
  39. o /sysinfo/chroot CHROOT bool False Chroot-like environment
  40. Only set to True if live-bootstrap is running in a chroot-like environment.
  41. This might be in a chroot, on bubblewrap, or similar. QEMU is not a
  42. chroot-like environment.
  43. o /sysinfo/baremetal BARE_METAL bool False Bare metal environment
  44. Only set to True if live-bootstrap is running directly on bare metal, without
  45. another kernel or virtualisation layer in between. A chroot, bubblewrap, or
  46. QEMU is not bare metal.
  47. o /sysinfo/jobs FINAL_JOBS int _ Number of jobs
  48. The number of jobs that packages should be compiled with. A sensible value
  49. would be the number of threads on your system.
  50. o /sysinfo/arch ARCH "x86|amd64|riscv64" _ Architecture
  51. The architecture live-bootstrap is running on.
  52. m /sysinfo/internal _ _ _ [INTERNAL] Advanced configuration
  53. Internal configuration. You should not touch this unless you know what you
  54. are doing!
  55. o /sysinfo/internal/ci INTERNAL_CI bool False Internal CI
  56. If you are seeing this, it should not be set to true. (Flag for live-bootstrap
  57. CI).
  58. m /dev _ _ _ [DEV] Development options
  59. Options intended for primarily live-bootstrap development or debugging.
  60. o /dev/update_checksums UPDATE_CHECKSUMS bool False [DEV] Update checksums of packages
  61. Rather than checking checksums of packages against the existing list, generate
  62. a new list for the checksums of packages.
  63. o /dev/build_kernels BUILD_KERNELS bool _ Build kernels
  64. Even when they are not required, still build kernels/kernel adjacent packages.
  65. This option has no effect when using KERNEL_BOOTSTRAP.