Dextrose/Updater: Difference between revisions
No edit summary |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Obsolete|Moved and died at https://sugardextrose.org/projects/dextrose/wiki/Dextrose_3_Updater}} | |||
== Configuration == | == Configuration == | ||
Edit {{Code|/etc/default/dextrose-update}} configuration file: | Edit {{Code|/etc/default/dextrose-update}} configuration file to set space separated list of yum repositories: | ||
DEXTROSE_YUM_REPO= | DEXTROSE_YUM_REPO="dextrose dextrose-freeworld" | ||
== Install == | == Install == | ||
| Line 19: | Line 21: | ||
relogin_pkgs="sugar sugar-artwork sugar-base sugar-datastore sugar-presence-service sugar-toolkit" | relogin_pkgs="sugar sugar-artwork sugar-base sugar-datastore sugar-presence-service sugar-toolkit" | ||
yum="/usr/bin/yum --disablerepo=* | yum="/usr/bin/yum --disablerepo=* --skip-broken --quiet" | ||
for i in $DEXTROSE_YUM_REPOS; do | |||
yum="$yum --enablerepo=$i" | |||
done | |||
updates() { | updates() { | ||
| Line 61: | Line 66: | ||
ln -s /usr/sbin/dextrose-update /etc/cron.daily/ | ln -s /usr/sbin/dextrose-update /etc/cron.daily/ | ||
Python client code: | Python client code for {{Code|src/jarabe/model/notifications.py}}: | ||
_DBUS_SYSTEM_IFACE = 'org.sugarlabs.system' | _DBUS_SYSTEM_IFACE = 'org.sugarlabs.system' | ||