intelligent-agent / Rebuild

Linux OS for Recore
0 stars 3 forks source link

Add apt preinst and postinst commands to remount /boot as rw when upgrading kernel. #54

Closed eliasbakken closed 4 months ago

eliasbakken commented 4 months ago

Place it in this file:

/etc/apt/apt.conf.d/100update

Content:

DPkg::Pre-Invoke {"mount -o remount,rw /boot";};
DPkg::Post-Invoke {"mount -o remount,ro /boot; /usr/local/bin/update-recore-revision";};