clr-installer icon indicating copy to clipboard operation
clr-installer copied to clipboard

Offline install is broken

Open malventano opened this issue 1 year ago • 3 comments

Installation without network was possible as of 31230 (support detailed here), however this support has broken some time between then and now.

  • I am not selecting any packages. Bare default installation.
  • I confirmed that clear-31230-live-server.iso does install offline.
  • I also confirmed that clear-41190-live-server.iso and clear-41270-live-server.iso fail to install offline:

image

malventano avatar Apr 04 '24 21:04 malventano

clr-installer team has abandon offline installation feature. How to workaround(tested on 42710)

run clr-installer

  • fill required settings
  • no select additional bundles
  • keep native-kernel selection
  • Save Configuration Settings (clr-installer save settings to clr-installer.yaml)
  • DO NOT select Install, select Cancel to exit

create offline-install.sh file with following content

#!/usr/bin/env bash
set -e

chmod 700 /var/lib/clr-installer/offline-content

clr-installer -c clr-installer.yaml --offline --swupd-contenturl file:///home/update/www &

while true; do
  if [ -d /tmp/install-*/usr/share/defaults ]; then
    cp -r /usr/share/defaults/clr-installer /tmp/install-*/usr/share/defaults/
    break
  else
    sleep 1
  fi
done

wait

run bash offline-install.sh

comphilip avatar Dec 03 '24 02:12 comphilip

clr-installer team has abandon offline installation feature.

If it is abandoned then the blog needs to be updated and the option removed from the installer. ...or it should be fixed so that it works as currently documented.

I suspect the latter is the preferred solution. @pixelgeek ?

malventano avatar Dec 03 '24 20:12 malventano

clr-installer team has abandon offline installation feature.

It is just my opinion. The team hasn't response to this issue for more than half of a year. It seems that there is a big problem of management.

comphilip avatar Dec 04 '24 00:12 comphilip