On Sun, Nov 13, 2011 at 01:35:28AM +0100, Duncan Mac-Vicar P. wrote:
On 11/12/2011 11:45 AM, Lars Müller wrote:
May I ask what the default is? Does openSUSE by default remove your kernel right away or does it keep it until after reboot? I'm asking 'cuz this is nice The default while updating kernel packages is to put more and more on
On Sat, Nov 12, 2011 at 01:23:12AM -0200, Jos Poortvliet wrote: [ 8< ] the system till no more space is available on /boot
We have to consider to turn a reasonable default - keept the last known rtunning one and the new one - on with the next release.
Lars
We implemented this on SLE already. Keeping the last working kernel and removing old ones after the successful boot.
And from the options in zypp.conf it looks like this is also present in openSUSE too. But it's not in use. With the default zypp.conf we still follow the old approach to replace the old kernel pieces as soon as the new kernel RPM gets installed. [ 8< ]
However, the option is read from the kernel package itself, where the feature is implemented.
I ignore if this was forward ported to Factory/12.1 already. Michael Marek can provide this information.
From the openSUSE 12.1 kernel it looks like this is included. At least we check if /boot/do_purge_kernels exists. postinstall scriptlet (using /bin/sh): # Flag to trigger /etc/init.d/purge-kernels on next reboot (fate#312018) touch /boot/do_purge_kernels While the purge-kernels service is active (chkconfig checked). Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany