We were embedding extra double-quotes in the DOS labels
which was caught in the dosfstools 4.2 release.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
- Add suspend lvm state for offline volumes.
- Need to check all children for possible install targets.
- LVM always written in /etc/fstab with UUIDs
- Enable logging for all extra selected bundles.
- controller: Add clr-init with lvm usage
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
We were wrapping this in a error with trace back data
which puts a misleading message into the log file.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Created a new test program which will damage an ISO image
file to ensure that checksum validation is working properly.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
As of go 1.14 JSON decoder no longer accepts invalid numbers.
https://golang.org/doc/go1.14#encoding/json
Switch Version to a new type and add Unmarshaler to handle the
type which allows unsigned integer or 'latest' as valid values.
Dropped required coverage by 1% for model.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
If the user has not explicitly requested 'latest' from the
command line, use version of the available offline content.
This is the default case for generated installer ISOs.
This functionality was broken by a previous fix.
Ref: 6dc97671d3
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fix logic bug as we can not check the swapfile size
when we are using the default of '0' for the partition
size to use the remaining free media space.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Prior to production using clr-installer for image generation
we created a parallel copy of their configs and scripts; this
is now redundant and frequently out of sync. Removing dups
and leaving a few examples and tests used by developers.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
We should always use the yamlDir macro to find helper
scripts relative to the yaml configuration file used.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Legacy mode checks for root can not be overridden with
skipping validation checks, as it isn't supported.
Enabled the use of ext4 for boot with undocumented
validation override.
Additional test cases.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
When adding the required options to mkfs for legacy
mode on ext, an extra null was being added when
options field was empty in the YAML.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Documentation and standard convention requires allowInsecureHTTP
to be camel-case, but the code and documentation were both incorrect.
Some users will need to update the YAML files if they already
had the incorrect 'AllowInsecureHttp' which is now 'allowInsecureHTTP'.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
The latest linters installation URL does not always response
all of the time. Adding retry to not waste developer time
restarting the build for a linter install failure.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Change the PostArchive model type from bool to boolset to account
for default of true and state if the value was explicitly set.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Change the AutoUpdate model type from bool to boolset to account
for default of true and state if the value was explicitly set.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This is useful for booleans which default to true.
Primarily needed for YAML files with booleans we
wish to default to true.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
If the user forces a version to be installed, we ignore any
offline swupd content cache (standard for Installer ISOs) which
might be present.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
a.) By default, block destructive install affecting other disks
b.) Add way to report effects on other disks
c.) Add force-install option
d.) Add Cleanup progress
e.) Fixes
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>