Files
mixer-tools/helpers
Kevin C. Wells cebb0b1a81 Misc bug fixes
Fix a number of AFB bugs:

- Previous build's upstream format was being incorrectly looked up,
resulting in upstream format boundary crossing detection failing.

- PreRun check was incorrectly skipping format build commands, resulting
in "stage for mix" being run twice.

- Only the UInt32 upstream version was being modified, resulting in the
second half of 'mixer build upstream-format' being run in the wrong
container.

- The wrong format was being printed out for 'mixer versions' if
crossing an upstream format boundary.

Refactor Cobra command PreRun

Simplified the PreRun logic that happens before every command. This also
fixes an issue where format bump build commands could be run with
--native=false, when they need to be run natively.

Fix AFB mixversion and LAST_VER setting

1) Changes how the format bump builds set mixversion so that it no
longer skips a version number in some situations.

2) Updates the update/image/LAST_VER file after the +10 build back
to the +20 build value, so mixer is ready to do the next mix.

Refactor file download code

This patch refactors and consolidates the different file download code
scattered throughout helper.go and builder.go.

Signed-off-by: Kevin C. Wells <kevin.c.wells@intel.com>
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2018-06-07 17:13:47 -07:00
..
2018-06-07 17:13:47 -07:00