Because the intent is to create hardlinks where possible within the
image/MIXVER directory tree, only the toplevel directory name needs to
be given. This avoids arbitrarily long command lines when the glob is
expanded by the shell.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
There may be cases where chroots are needed for the next build, such as when one
may want to use the same (or almost the same) content, and copying the previous
build contents would be much more efficient then re-creating it.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
- superpack-maker.sh
Create superpacks for each bundle in an update version. The
superpack replaces oldest pack in that directory (excluding
zero packs) and is a superset of updates needed for all newer
packs. Leaves a defined number of newest delta packs unchanged.
The remaining delta packs are symlinked to the superpack.
- create-update.sh
Define variables for superpack-maker.sh, call pack-maker.sh, and
call superpack-maker.sh
- Makefile.am
Install superpack-maker.sh
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
The individual chroots are not needed after create-update finishes, so we can
remove them earlier and create more space for the fullfiles and pack creation.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
Create update now supports minversion, and --no-publish, so updates can be more
versatile and not update the latest version until the curator decides to do so.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
The zero pack only needs to exist when a bundle manifest changed, otherwise the
zero pack exists in a previous version that was built already, so skip creating
them for unchanged bundles. Also clean up the bundle chroots because only "full"
is needed after an update is created.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
To avoid cluttering the workspace directory, archive the swupd log files
in a new "logs" directory within the workspace, separating the logs by
mix version.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
For testing or custom configurations it may be desirable to use swupd
binaries that are not the system installed ones.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
To support more configurations, the script now supports passing a specific
builder.conf and format name to use when creating the update content.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>