794 Commits
Author SHA1 Message Date
David Klimesh 35ccb7c521 Bump efi size 2024-02-29 08:18:22 -08:00
William Douglas e23c5195a0 Merge remote-tracking branch 'origin/master' into kmaster
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-02-15 11:57:15 -08:00
William Douglas ddf49547d9 Update go version and re-vendor
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>
2.7.9
2024-02-15 11:31:04 -08:00
dependabot[bot] 9e5ea90040 build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2.7.8
2024-01-03 10:20:33 -08:00
William Douglas 409e19a2ae Merge remote-tracking branch 'origin/master' into km 2023-11-14 14:49:39 -08:00
David Klimesh cfd4471f3b Bump efi and dependencies 2.7.7 2023-11-14 14:35:32 -08:00
David Klimesh 539c753e9f update deps 2023-11-09 11:01:09 -08:00
William Douglas b54609ad74 Update dependencies 2023-11-09 10:15:26 -08:00
David Klimesh a7e3a65f53 Bump size for efiboot 2023-05-20 16:36:05 -07:00
William Douglas 9e6717e5c7 Update dependencies 2023-04-14 15:38:29 -07:00
William Douglas 68b958137b Merge remote-tracking branch 'koji/master' into kmaster 2023-02-22 11:34:38 -08:00
William Douglas 04ff3259ab Update how-to-make-a-release with detailed steps
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>
2.7.6
2023-02-22 11:28:50 -08:00
William Douglas dccd80144d Add details for updating vendor content 2.7.5 2023-02-22 10:05:13 -08:00
Brett T. Warden 33c0a7a898 print blkid output to both tty and kmsg 2023-02-22 09:58:53 -08:00
Brett T. Warden 77fc5b252f Show found partitions while we're looking for CLR_ISO
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.
2023-02-22 09:58:53 -08:00
William Douglas 9270a7bfe3 Update go.sum and workflow go version
The go gtk link wasn't working for ci testing.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-02-22 09:35:47 -08:00
William Douglas ac2cbde712 Only run ci for PRs 2022-11-03 10:18:41 -07:00
William Douglas 73d7f22c56 Update code for revive linter 2022-11-03 10:18:41 -07:00
William Douglas eab0f41c2a Remove abandoned linters 2022-11-03 10:18:41 -07:00
William Douglas c82588123c Add golangci-lint workflow 2022-11-03 10:18:41 -07:00
William Douglas 45457f4de1 Fixup lint error '(*T).Fatalf from a non-test goroutine' 2022-11-03 09:14:37 -07:00
William Douglas a9eb1fcc0f Fixup lint error 'unbuffered channel' for Notify 2022-11-03 09:14:37 -07:00
William Douglas 185b29eb64 Fixup lint error for 'stringintconv' 2022-11-03 09:14:37 -07:00
William Douglas d20f1ed3d4 Fixup lint errors for 'ineffectual assignment' 2022-11-03 09:14:37 -07:00
William Douglas e999af5e5b Fixup gofmt errors 2022-11-03 09:14:37 -07:00
William Douglas fe0f2b760f Add release process document
Signed-off-by: William Douglas <william.douglas@intel.com>
2022-10-21 14:17:47 -07:00
William Douglas e6106d1281 Merge remote-tracking branch 'koji/master' into memerge
Resync internal and external.

Signed-off-by: William Douglas <william.douglas@intel.com>
2022-09-09 11:14:07 -07:00
Brett T. Warden 1a0a63655a Force takeover of tty
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.
2.7.4
2022-09-08 09:06:34 -07:00
Brett T. Warden caf07ee413 Call clr-installer directly instead of from bash
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*.
2022-09-08 09:06:34 -07:00
Brett T. Warden aa82606e7a Call cat directly instead of via bash 2022-09-08 09:06:34 -07:00
Brett T. Warden 0a64d15f22 Let systemd check kernel command line options
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.
2022-09-08 09:06:34 -07:00
djklimes 1bdd4ec174 Update efi partition to 124M from 100M
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.
2.7.3
2022-01-05 15:33:18 -08:00
David Klimesh 03d158321d Update efi partition to 124M from 100M
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>
2022-01-05 13:31:43 -08:00
Mark D Horn bd38c8b9d7 Fixes for changes to gotk3 v0.6.0
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>
2021-07-12 17:05:10 -07:00
Mark D Horn 198742b623 vendor: new release of gotk3
To support building under golang 1.16.x gotk3 v0.6.0 required.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2021-07-12 17:05:10 -07:00
Mark D Horn 12468f4b85 isoutils: Remove extraneous double quotes
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>
2.7.2
2021-02-03 17:14:53 -08:00
Mark D Horn 644ba63c8b isoutils: Reorder loadable modules
With the release of the 5.8 kernel, now isofs depends
upon cdrom; now cdrom must be loaded first.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2.7.1
2020-10-09 09:42:25 -07:00
Mark D Horn 86128e62b0 test: add functional lvm test
Add a new test for LVM via advanced method.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2.7.0
2020-06-24 09:08:59 -07:00
Mark D Horn 718634761e storage: Enable use of LVM for root file system
- 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>
2020-06-24 09:08:59 -07:00
Mark D Horn 46d525b565 storage: Use lsblk data for device path
Do not assume the path is /dev/<name>, use parsed path
from the output of lsblk.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-24 09:08:59 -07:00
Mark D Horn c004b7635d storage: make undetermined guid warning only
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>
2020-06-24 09:08:59 -07:00
Mark D Horn f3b943149c controller: Fix hang bug for cbm fails
Fix issue where we failed and then returned where
we waited on the fail again.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-09 15:34:46 -05:00
Mark D Horn 384b1d8598 controller: Offline content ignore
Only show ignoring offline content if it exists and we
can not use it for this install.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-08 18:39:44 -05:00
Mark D Horn b8fde930aa iso: insmod earlier
Need to ensure the loadable kernel modules are loaded
BEFORE we start looking for hardware devices.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2.6.1
2020-06-03 17:23:19 -07:00
Mark D Horn bd34c10970 iso: lengthen the timeout for finding the label
Move from 5 to 10 second for some systems with slow
hardware or emulators with low resources.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-03 17:23:19 -07:00
Mark D Horn bbce2bcd31 tests: Add new source for testing checksum
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>
2.6.0
2020-05-28 21:37:31 -07:00
Karthik Prabhu Vinod 2ae625f8a9 initrd: Wait before booting
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
2020-05-28 21:37:31 -07:00
Mark D Horn cab91e66fe iso: Find usable tty for output
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-05-28 21:37:31 -07:00
Karthik Prabhu Vinod 54457ddc6d ISO: Add integrity check
Adding Implant code
initramFs Add verify checksum using checkisomd5
BIOS/UEFI menu changes

Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
2020-05-28 21:37:31 -07:00
Karthik Prabhu Vinod 9ec5a9574b README: Add a reference to clr-installer-dev bundle
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
2020-05-27 12:40:07 -07:00