-
Committer:
Martin Pitt
-
Date:
2015-11-13 11:18:56 UTC
-
Revision ID:
martin.pitt@ubuntu.com-20151113111856-dq4hde0lmph8nmny
* debian/90-updates-available
- Now directly prints the cached info if available
=> avoid login stalls due to motd updates (LP: #525674)
- Also fixes a former potential issue of existing but not readable cached
info by changing the test from -e to -r
* debian/99update-notifier:
- Now additionally triggers the an asynchronous background update of the
cached info via update-motd-updates-available hooking into
APT::Update::Post-Invoke-Success.
* data/update-motd-updates-available:
- This now only contains the slow part of actually 'updating the cached
info'.
- It executes asynchronously to avoid stalling apt-get update.
- The file is no more called by pam to avoid login stalls.
- It also fixes an issue with concurrent updates clobbering the
cached file via mv being atomic