The PREVIOUS_MIX_VERSION value from mixer.state has replaced LAST_VER
for setting the previous manifest header field. The LAST_VER value was
unable to properly set the previous header field when rebuilding a mix
with the clean flag. This change resolves the issue with the clean flag.
Signed-off-by: John Akre <john.w.akre@intel.com>
Some bundles have uppercase letters in their names. DO NOT make these
lowercase - this has the result of a manifest not being generated for
them because it cannot find the chroot to walk.
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
Fixes#20
When these files were created locally they were hidden by a .gitignore
rule. Add the files back with a different "bundlesdir" name to avoid
this rule. This commit assumes the .gitignore rule is required.
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
Instead of leaving StateDir hanging around as a global, include it as
part of the config struct that is passed around.
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This includes manually setting test file permissions to be consistent
with what we expect and renaming test directories to more test-specific
names.
Add several new tests for manifest creation
Fix several issues identified by tests
* missing debuginfo checks
* track manifest file count
* perform format bump checks
* track and deprecate ghosted files
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
Now that we develop following the Go conventions, no need to be inside
src directory. This commit just does the move so hopefully git will be
able to rebase patches referring to previous structure.
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>