Move to go version to 1.21 (1.22 is still early and 1.21 has a long
chain of stable releases).
Also update dependencies to latest their versions.
Signed-off-by: William Douglas <william.douglas@intel.com>
And run them for a commit (needed to poke the go version in go.mod due
to a dependency update needing at least go 1.17).
Signed-off-by: William Douglas <william.douglas@intel.com>
initrd calls blkid a few times looking for CLR_ISO, so it can identify
the root device that was booted. On each retry, call blkid plain to show
everything that's been found -- this may help with debugging boot
failures.
This unit will stall indefinitely prompting for a password (even for
root) if anything else is holding the console. Instead, let this take it
over.
Also, /dev/console is default, so we don't need to specify it here.
Retries should be handled later, if desired, via systemd's standard
mechanisms.
Also move reboot to ExecStartPost so it runs only if/after clr-installer
has *succeeded*.
Trying to avoid extra embedded bash calls -- use systemd's internal
conditions to check whether clri.descriptor is defined on the kernel
command line to decide whether to even run this unit.
ISO creation has been failing because 100M initrd and
the kernel have grown too large for the allocated space.
Eventually we will add this value to yaml config but for
now we will just bump it.
ISO creation has been failing because 100M initrd and
the kernel have grown too large for the allocated space.
Eventually we will add this value to yaml config but for
now we will just bump it.
Signed-off-by: David Klimesh <david.j.klimesh@intel.com>
Several API changes from gotk3 v0.4.0 to v0.6.0
which was a required bump to support building under golang 1.16.x.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
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>