Re: Automount /boot during updates.
Hi.
On Thu, Sep 04, 2014 at 02:20:52AM -0400, PaulNM wrote:
> Hi folks,
>
> I seem to remember hearing about a way to enable/disable the system
> mounting /boot whenever a package needs to install or read files from
> it, then unmount it again afterwards. (Like during kernel upgrades, for
> example.)
>
> I can't seem to find out how to do this, any pointers?
Use 'noauto' for /boot in /etc/fstab.
Put something like this in a file at /etc/apt/apt.conf.d:
DPkg
{
Pre-Invoke {"mount /boot";};
Post-Invoke {"umount /boot";};
}
Reco
Reply to: