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>
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>
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>
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>
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>
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>
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>
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>