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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140904071344.GA19386@x101h