I was looking around to find something similar to perform update-automation on openSUSE distribution, just like in Debian GNU Linux.
Some pretty way, without hacking a bash script and adding it to the cron…
It seems, there is a build in solution which is unfortunately configurable out of YaST2.
Install YaST2 module:
zypper in yast2-online-update-configuration
Run the YaST2-configuration dialog:
yast2 online_update_configuration
The configuration dialog seems to run some tasks, which creates a symlink for /etc/cron.daily/opensuse.org-online_update,
which is pointing to /usr/lib/YaST2/bin/online_update.
There is also a configuration file for online-update-configuration, which has the same configuration parameters from the dialog.
/etc/sysconfig/automatic_online_update
From the zypper log file /var/log/zypp/history you will be able to find out, how your upgrade was run and which packages are installed.
Maybe there is a pure command-line way to configure this without the need to use YaST2. I will figure it out and give some further advises.
Happy updating!
Leave a Reply