Closed theneofusion closed 2 years ago
I think the problem is this line. findmnt
returns a non-zero exit code if not found, which causes the whole script to fail because -e
is specified, so the code below to catch this gracefully is never reached.
I think adding || true
to the end of the findmnt
command should fix it.
I have this error message too, when update raspberrypi-sys-mods. And I use TFTP boot too.
That makes sense, thank you! I will upload the new build once it has been tested.
HW: RaspberryPi 4B OS: Raspberry Pi OS Lite 64bit, otherwise up-to-date Bullseye
raspberrypi-sys-mods (20220901) installs fine on more conventional systems running from SD and USB-drives but fails on my systems that network boot from a NFS share.
Error message:
This is what the fstab looks like on one of the failing devices: