-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul, generalize containerized build scripts
Accept command-line arguments and environment variables to specify: - BUILDROOT: the default source of config, hostid and zpool.cache files - ZBMCONF: a specific configuration file to use inside the container - ZBMOUTPUT: a directory where build artifacts will be copied - HOSTID: a specific hostid file to be copied to /etc/hostid - POOLCACHE: a specific cache to be copied to /etc/zfs/zpool.cache - ZBMTAG: a tag to fetch if /zbm is not pre-populated in container The zbm-build.sh script now overrides ImageDir values and removes Global.BootMountPoint from any configuration, writing artifacts to a temporary directory and copying them to the output directory after a successful run. When /zbm is not pre-populated, it is now built in-container from a tarball fetched from github.com rather than a git clone. This reduces instantiation time and lightens the dependency burden. Closes: #195.
- Loading branch information
Showing
5 changed files
with
275 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.