clearlinux / clr-installer

Clear Linux* OS Installer
GNU General Public License v3.0
92 stars 42 forks source link

clr-installer requires clr-installer bundle to be installed on the target image #800

Open bwarden opened 9 months ago

bwarden commented 9 months ago

Describe the bug The file /usr/share/defaults/clr-installer/kernels.json is provided by the clr-installer bundle. clr-installer should not be looking for it in the generated image. If anything, it should be reading it from the host system.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior clr-installer will happily create a system that does not itself include the clr-installer bundle

Screenshots

ERROR: Installation has failed!
Please report this crash using GitHub Issues:
https://github.com/clearlinux/clr-installer/issues

Include the following as attachments to enable diagnosis:
/root/pre-install-clr-installer.yaml
/root/clr-installer.log

You may need to remove any personal data of concern from the attachments.
The Installer will now exit.
open /tmp/install-3696175970/usr/share/defaults/clr-installer/kernels.json: no such file or directory

Error Trace:
errors.Wrap()
     /builddir/build/BUILD/clr-installer-2.7.7/errors/errors.go:85
kernel.LoadKernelListChroot()
     /builddir/build/BUILD/clr-installer-2.7.7/kernel/kernel.go:48

Environment (please complete the following information):

Additional context