meta-rauc-community icon indicating copy to clipboard operation
meta-rauc-community copied to clipboard

rpi: Set /boot to ro?

Open warcow105 opened this issue 9 months ago • 0 comments

I was wondering if it would be good to remount boot as ro after rauc-mark-good runs? SD corruption in /boot has bitten me a few times so I made a bbappend to modify rauc-mark-good.service to add "ExecStartPost=mount -o remount,ro /boot". I have added matching remount,rw to the updater for update bundles. So far I have not had any corrupted /boot issues since. Would this change be beneficial to anyone else? Am I overlooking something that makes this a bad idea?

Michael

warcow105 avatar May 07 '24 19:05 warcow105