On Mon, Apr 03, 2023 at 05:53:49PM +0000, Klemens Nanni wrote:
> 03.04.2023 15:03, Klemens Nanni пишет:
> > This means no behaviour change for plain installs, but working boot for
> > softraid installs.
> > 
> > 'cvs diff -b -U0':
> > 
> >     @@ -39 +39 @@ md_installboot() {
> >     -       local _disk=$1 _mdec _plat
> >     +       local _disk=$1 _chunks _bootdisk _mdec _plat
> >     @@ -62 +62,3 @@ md_installboot() {
> >     -               mount ${MOUNT_ARGS_msdos} /dev/${_disk}i /mnt/mnt
> >     +               _chunks=$(get_softraid_chunks)
> >     +               for _bootdisk in ${_chunks:-$_disk}; do
> >     +                       mount ${MOUNT_ARGS_msdos} /dev/${_bootdisk}i 
> > /mnt/mnt
> >     @@ -74,0 +77 @@ md_installboot() {
> >     +               done
> > 
> > (I have yet to dig out my rpi4, fix the console cable and test myself...)
> 
> As expected:
> - Plain  install on wiped SD card boots.
> - Crypto install on wiped SD card boots.
> 
> No other boards are effected by this diff.
> 
> OK?

I tested this on a rpi zero 2 w (no UEFI Firmware):
machdep.compatible=raspberrypi,model-zero-2-w

I can confirm that without this diff it tries to mount the msdos
partition of the SR CRYPTO disk.  After applying this diff the
installer uses the chunk disk instead.

ok mbuhl

Reply via email to