|
On 07/21/2012 05:27 AM, Hamish wrote:
Micha wrote:I see on beta2 that the update-notifier taskbar applet thingy is still installed and running. I seem to recall some discussion that this should be disabled since, on a LiveDVD there's no sense updating...it should be there for VMs, persistent USBs, and for people who install the OSGeo "OS" onto their hard drive from the DVD or a USB stick.But right now it is checking daily, we should have it check weekly so that single-use boots from the DVD never see it (or maybe only see it 1/7th of the time, I'm not sure how it counts). the challenge is to find which text file on the OS controls that setting. I've rummaged around a bit and found: user@osgeolive:~$ cat /etc/apt/apt.conf.d/99update-notifier DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi "; }; user@osgeolive:~$ So it looks like update-notifier is using the timestamp on files to know when it last ran, and if there are updates. In addition there's the 'apt' cron job in /etc/cron.daily that is checking for updates every day. So, if I understand what's going on, essentially at every boot of a DVD the situation will be set to updates available, and the notifier will kick in. thanks, Hamish This mail was received via Mail-SeCure System. |
_______________________________________________ Live-demo mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/live-demo http://live.osgeo.org http://wiki.osgeo.org/wiki/Live_GIS_Disc
