25 Commits

Author SHA1 Message Date
Tudor Marcu 9fc98a03b1 Release v1.08
This release fixes the builder.conf template so it has a more sane starting
point.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.08
2016-11-09 12:13:35 -08:00
Tudor Marcu c96046001e Fix builder.conf template
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-11-09 12:13:14 -08:00
Tudor Marcu 0d0e64e2a9 Release v1.07
This release updates bundle-chroot-builder to support the new mixer-tools and
builder.conf format.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.07
2016-11-04 17:56:58 -07:00
Tudor Marcu be05f6b513 Default to outputting content in the mixer workspace
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-10-28 13:09:03 -07:00
Tudor Marcu d07ac01932 Update builder.conf to match docs and new tooling
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-10-28 12:18:09 -07:00
Tudor Marcu 82bd4409f8 Version numbers are now read from builder.conf
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-10-28 11:55:35 -07:00
Tudor Marcu 78e419ee2c Print out which builder.conf is being used
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-10-27 12:13:13 -07:00
Tudor Marcu 9d987f5e3b Release v1.06
This release moves the noship folder to the chroot location, because chroot
builder should not be adding any content to the webdir, and renames the
latest.version file to more appropriately match its use.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.06
2016-09-29 10:39:06 -07:00
Tudor Marcu 629f940676 Change version file to more appropriate name
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-09-29 10:35:54 -07:00
Tudor Marcu 68084ca1b6 Move noship dir to image instead of www
This is an artifict needed by the swupd-server when creating update content
in the webdir, it should not exist in the webdir since it is being created
as part of the chroot building process. All content produced by the chroot
builder should live in the STATE_DIR/image/VER directory.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-09-29 10:35:26 -07:00
Tudor Marcu 4225b901a9 Release v1.05
This release changes the builder to read raw bytes to account for weirdly
encoded filenames, and provides better output to the user.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.05
2016-09-26 11:56:00 -07:00
Patrick McCarty dee894f28d Add progress messages for builder.conf values
To help debug issues related to SWUPD config values being set in the
chroot, or not, print out diagnostic messages to display the expected
values.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-09-06 11:39:05 -07:00
Tudor Marcu 9919c1523f Use raw bytes to read filenames
We cannot be sure of the encoding used for certain filenames or the locale on
a specific system, so use raw bytes and don't worry about the encoding of the
filenames.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-08-31 15:56:06 -07:00
Tudor Marcu bda3519d4d Release v1.04
This release introduces functionality to blacklist/ignore bundles beginning with
a '.', and will support other banned characters in the future.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.04
2016-05-03 20:26:44 +00:00
Tudor Marcu a1c4e4a5c5 Do not accept bundles beginning with '.'
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-05-03 20:26:01 +00:00
Brad T. Peters 58ddb254dc Release v1.03
This release patches a bug where whitespace was not being
correctly stripped from package names

Signed-off-by: Brad T. Peters <brad.t.peters@intel.com>
v1.03
2016-04-12 13:58:56 -07:00
Brad T. Peters 18620f4efb Fix whitespace issue with pkg name
Preceeding or trailing whitespaces must be stripped

Signed-off-by: Brad T. Peters <brad.t.peters@intel.com>
2016-04-12 13:54:59 -07:00
Tudor Marcu efaa5b9051 Release v1.02
This release includes fixes for validating builder.conf is correct, and fixes a
bug where the chroot builder would loop forever if m4 output was too large.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.02
2016-03-29 11:54:08 -07:00
Tudor Marcu d5d8692156 Remove URL option as content & version are enough
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-28 14:16:54 -07:00
Tudor Marcu ef79a9ce59 Fix m4 infinite wait()
If there are a lot of packages then the m4 output will overflow the max
PIPE buffer, and the wait() will never finish. This patch reads the output
in chunks and then creates a string of the entire output to pass to yum.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-28 14:09:50 -07:00
Tudor Marcu 2d1f4a75cd Make sure builder.conf is filled correctly
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-25 17:02:51 -07:00
Tudor Marcu 24d8b59fdf Remove leading slash in os.path.join()
The os.path.join() function discard any previos paths/variables when it
encounters one starting with a leading "/" so the statedir & bundle name were
completely ignored when it ran into /usr/share/defaults/...
This fixes it so the path is correctly made, and the dirs and files should be
installed correctly.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-25 13:08:32 -07:00
tmarcu 4cdc1ea888 Merge pull request #2 from clearlinux/url_confs
Add url for swupd in builder.conf
v1.01
2016-03-24 17:01:23 -07:00
Tudor Marcu e14a928b37 Add url for swupd in builder.conf
The update client currently defaults to the public clearlinux url, and must be
overridden with cmd line options to use other version/content/format urls. This
introduces a problem when running a mix, and not supplying the mix URL will
cause swupd to update from the official URL, rather than the mixer url.
With this patch, the URLs can all be specified and are inserted into conf files
that the swupd client will read, to know what URL to default to.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-03-24 16:42:36 -07:00
Tudor Marcu 24bbe791f8 Initial code drop.
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
v1.00
2016-03-22 13:36:15 -07:00