mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-04 20:51:27 +00:00
This patch includes the following changes: Reorder which version builds first to simplify The +20 build can be built fully at the beginning all the way though, removing the need to swap tooling to build the +10 (just so things are built in chronological order). The +10 build is created with the - possibly - old tooling only after, and reduces the amount of back-and-forth swapping of tooling. Fix misc errors with formats and version blocks The right format number needs to be passed into both functions, and we *must* ignore the fact that the version and format are lower than the previous build in the format bump case. It reduces complexity and tool changes by building the +20 version all the way through first. Two top level commands now exist for running format bumps: - build upstream-format This command builds the necessary builds to cross a mix over a format bump. - build format-bump This command builds a bump for downstream users. Fix docker mount path lookup This patch fixes a bug with the way mixer determined which fields in 'builder.conf' were mountable paths. Previously, mixer treated every field in [Builder] and [Mixer] as paths on the filesystem (or paths to files whose parent directories needed to be mounted). Introducing the "DOCKER_IMAGE_PATH" field broke this approach. This patch introduces a new "mount" tag on the config struct fields that indicates whether a config field represents a mountable path. This has several benefits: 1) It allows us to know definitively which fields we should look at. 2) It allows us to look at the entire 'builder.conf', not just the [Builder] and [Mixer] sections. 3) It removes the restriction that paths in 'builder.conf' be absolute. This absolute check was mostly a sloppy way of checking if a field was in fact a path. Signed-off-by: Tudor Marcu <tudor.marcu@intel.com> Signed-off-by: Kevin C. Wells <kevin.c.wells@intel.com>