update-notifier: multiple upgrades to privacy and usability
This commit is contained in:
parent
b6021201c7
commit
82a87be243
4 changed files with 145 additions and 3 deletions
|
|
@ -18,11 +18,25 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=9
|
||||
VERSION=10
|
||||
COMPONENT=main
|
||||
|
||||
. ./config
|
||||
|
||||
# Don't show the connection check screen when listing available updates
|
||||
sed '/update-manager/s/--no-update/--no-update", "--no-check-screen/' -i data/backend_helper.py
|
||||
# Actually install all upgrades in "Install all upgrades" menu entry
|
||||
sed '/client.upgrade_system/s/safe_mode=True/safe_mode=False/' -i data/backend_helper.py
|
||||
# Check updates with update-notifier instead of aptdaemon
|
||||
patch -p1 < $DATA/check_updates_with_update_manager.patch
|
||||
# Shorter check times for apt task ending
|
||||
sed '/TIMEOUT_APT_RUN/s/600/60/g' -i src/update-notifier.c
|
||||
# Use update-manager to checks for dist-upgrades
|
||||
sed '/RELEASE_UPGRADE_CHECKER/s|/usr/lib/ubuntu-release-upgrader/check-new-release-gtk|sleep 5; nice ionice -c3 /usr/bin/update-manager --check-dist-upgrades --no-update --no-focus-on-map|' -i src/update-notifier.h
|
||||
|
||||
# Reduce the timeout to refresh the status of the tray icon
|
||||
patch -p1 < $DATA/improve_responsiveness.patch
|
||||
|
||||
#Use custom apt-check to fix motd update notification by striping esm stuff.
|
||||
cp $DATA/apt_check.py data/apt_check.py
|
||||
sed -i '/test_motd.py/d' debian/rules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue