Open hickeng opened 7 years ago
The version is currently injected into xorriso-options.cfg during the initialize_bundle
function (isos/base/utils.sh) - this should be moved to the generate_iso
function in the same file.
@hickeng your link to bash-helpers.sh above is broken
Story As a VIC developer I want to be able to easily deploy my freshly built VIC binaries As a VIC developer I want to be exercising core product workflows as part of my dev workflow whenever possible to catch problems
Details Currently the build version is embedded into bin/.iso-base.tgz and is generated from git repo tags. This approach has two problems when applied to a dev environment:
Possible version inputs for dev environment: a. last commit modifying config structures b. checksum of config structure definitions c. time (using just the raw time implies that the isos would need rebuilding every single make, so some intelligence needs to be applied)
Acceptance A suitable version is embedded in an ISO in a dev environment so that upgrade can be done without
--force
or environment changes A version increment should only regenerate ISOs, without requiring package installation/update Update bash-helpers.sh with a function that uses upgrade where possible and falls back to delete/create otherwise