This change modifies the behavior of the clr-installer. By default, the
installer includes NetworkManager bundle in the list of bundles to be
installed. This commit introduces an exception: if systemd-networkd
is already present in the bundle list, the addition of NetworkManager
will be skipped.
Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
When generating an ISO image, we have a fixed list of kernel modules
that should be included. Add logic to determine whether those kernel
modules are named '*.ko.zst', '*.ko.gz', or '*.ko.xz' instead of only
'*.ko'.
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.
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>