27 Commits
Author SHA1 Message Date
Tudor Marcu 6ed7e64f85 Release v1.08
This release changes the structure and flow of how bundles are used in mixer.
There will be a repo for upstream Clear bundles, and a separate repo for mixer
-only bundles that the user will modify.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.08
2016-04-29 22:54:23 +00:00
Tudor Marcu 17a77f3abf Change bundle repo structure
To simplify things, there will now be a "clr-bundles" repo directory, which
will contain all of the Clear bundles from master and appropriate tags, and a
"mix-bundles" repo directory which will contain the bundles that the mixer
will use to generate mixes from. This separation removes the need to work with
a single repo and juggle both upstream bundles and custom ones, so the user
will have a full list of bundles to copy from if needed, and can focus on just
modifying their own bundle set.
Note, the clr-bundles directory should remain untouched; bundle modifications
should only be done in the mix-bundles directory.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-04-28 23:29:07 +00:00
Tudor Marcu 402672d7c5 Release v1.07
This release fixes create-update to only create 0 packs for changed bundles, and
removes all chroots except "full" after update creation to save space and speed
up time on hardlinking.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.07
2016-04-07 14:49:09 -07: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
Tudor Marcu 95d822eb6b Release v1.06
This release fixes init-mix.sh and adds archiving of swupd-logs.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.06
2016-04-01 12:35:29 -07:00
Tudor Marcu d76ca1c8c4 Remove sudo and fix if block
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-04-01 11:43:56 -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 b55c95115f Release v1.05
This release includes a fix when calling bundle-chroot-builder, and adds the
format option when calling create update.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.05
2016-03-31 13:40:06 -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
Tudor Marcu bf332bb71b Fix LD_PRELOAD and script call
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-31 12:56:25 -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 05f08e2bab Release v1.04
This release applies fixes to sanitize input read from the builder.conf and cmd
line, adds cmd line options to the init-mix.sh script, and forces nosync on
chroot creation.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.04
2016-03-29 22:43:24 -07:00
Tudor Marcu e01a8c4eca Add nosync to building chroots
Yum naturally does a lot of sync() calls for reliability and stability,
but we do not care if chroot building is killed by something as it can be
re-run without problems.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-29 22:40:07 -07:00
Tudor Marcu aef1f61808 Add options to supply config and buildversion
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-29 18:18:02 -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 964725c6b3 Properly strip whitespace on variables
A user could enter FORMAT=4 , in builder.conf, which would get read with a space
and thus create a 'format4 ' directory including the space. This sanitizes the
input so only valid strings are used in the script.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-29 17:53:09 -07:00
Tudor Marcu c456042f80 Release v1.03
This release fixes the help menu and checks /etc for the config file as a
2nd step down from /usr/share/defaults/.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.03
2016-03-29 11:58:58 -07:00
Tudor Marcu 6a01aab979 Check for config in /etc as well
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-25 16:58:43 -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 6f0d9d3d04 Release v1.02
This release includes changes to supply various options to the builder scripts,
allowing for a more configurable mixer setup.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.02
2016-03-24 01:14:35 -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 99c281ba45 Add options to build-chroots.sh
To support more cases and add versatility, the script now supports passing args
to tell which builder.conf should be used. If no options are passed, then it
will read from the one provided in /usr/share/defaults/bundle-chroot-builder/.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-24 00:39:04 -07:00
Tudor Marcu 8b83d71322 Release v1.01
This release fixes the makefile to install the init-mix.sh script to auto
generate the starting version.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.01
2016-03-23 15:38:22 -07:00
tmarcu 396b62c906 Merge pull request #1 from phmccarty/install-init-mix
Install the init-mix.sh script
2016-03-22 14:20:55 -07:00
Patrick McCarty 44433d527f Install the init-mix.sh script
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-03-22 14:17:10 -07:00
Tudor Marcu 739c08988c Initial code drop.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.00
2016-03-22 13:16:03 -07:00