20 Commits
Author SHA1 Message Date
Tudor Marcu 4fbe8b7fec Change version file to more appropriate name
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-09-29 10:28:07 -07:00
Tudor Marcu d24431c806 Update help menu
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-09-29 10:27:03 -07:00
Patrick McCarty 200af6aa8d Simplify the hardlink command invocation
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>
2016-09-29 10:11:46 -07:00
Tudor Marcu 7f1bb3f6b4 Add option to keep chroots
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>
2016-08-02 17:34:54 -07:00
Tudor Marcu a2255a1e5d Cleanup the pack-maker and create-update
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-07-22 16:09:52 -07:00
Matthew Johnson 0d48c07d9e Create super packs to save disk space
- 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>
2016-07-22 15:55:07 -07:00
Tudor Marcu 4b89a187f9 Add option to disable zero pack creation
One may want to re-create all the manifests but not zero packs again.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-07-16 00:07:58 -07:00
Tudor Marcu cc864d71c5 Fix regex and move chroot deletion earlier
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>
2016-07-07 18:55:17 -07:00
Tudor Marcu c7dd5cb5be Fix erroneous arg option
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-05-23 09:04:28 -07:00
Tudor Marcu daf4c64355 Fix script not working when version files don't exist
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-05-10 20:40:26 +00:00
Tudor Marcu 496a701f89 Add more options to cater to a DevOps flow
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>
2016-05-09 21:58:23 +00:00
Tudor Marcu 6e3b094138 Only make 0 packs for changed manifests and clean
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>
2016-04-07 14:43:44 -07:00
tmarcu d068900f12 Merge pull request #2 from phmccarty/archive-logs
Archive swupd logs for every mix build
2016-03-31 14:07:17 -07:00
Tudor Marcu 3a028691e2 Add format flag to swupd_create_update call
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-31 13:39:26 -07:00
Patrick McCarty 97b1fba8dc Archive swupd logs for every mix build
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>
2016-03-30 16:29:37 -07:00
Tudor Marcu 14a8e7c2f4 Properly strip whitepace and read in format value
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-29 17:55:21 -07:00
Tudor Marcu 215142e133 Add prefix option to help menu
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-24 16:02:46 -07:00
Tudor Marcu e2394792b3 Add option to provide which swupd binaries to use
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>
2016-03-24 01:13:18 -07:00
Tudor Marcu f98416365b Add options to create-update.sh
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>
2016-03-24 00:49:28 -07:00
Tudor Marcu 739c08988c Initial code drop.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-22 13:16:03 -07:00