mirror of
https://github.com/mvallim/live-custom-ubuntu-from-scratch.git
synced 2025-08-06 10:57:08 +00:00

* Add ability to specify Ubuntu version (focal, groovy tested) * Add ability to specify Linux package to install (linux-generic, linux-generic-hwe-20.04 tested) * Add ability to specify system "name" which writes to ISO volume id, hostname, and iso filename. * Version bump config file for breaking change * Add readme in scripts directory for instructions on how to use.
1.0 KiB
1.0 KiB
Build Scripts
build.sh
This script builds a bootable ubuntu ISO image
Supported commands : setup_host debootstrap run_chroot build_iso
Syntax: ./build.sh [start_cmd] [-] [end_cmd]
run from start_cmd to end_end
if start_cmd is omitted, start from first command
if end_cmd is omitted, end with last command
enter single cmd to run the specific command
enter '-' as only argument to run all commands
How to Customize
- Copy the
default_config.sh
file toconfig.sh
in the scripts directory. - Make any necessary edits there, the script will pick up
config.sh
overdefault_config.sh
.
How to Update
The configuration script is versioned with the variable CONFIG_FILE_VERSION. Any time that the configuration
format is changed in default_config.sh
, this value is bumped. Once this happens config.sh
must be updated manually
from the default file to ensure the new/changed variables are as desired. Once the merge is complete the config.sh
file's
CONFIG_FILE_VERSION should match the default and the build will run.