On Wed, 22 Mar 2017, Thorsten Kukuk wrote:
On Tue, Mar 21, Michael Matz wrote:
But I guess somebody will have to properly implement the initrd approach for us so that we can really compare both on the system we care about. After all, possibly I'm wrong ;)
I did implement the initrd approach two years ago during hackweek in a few hours. But it requires that you always boot twice, first to run zypper from a initrd, second to activate all changes and get back to a consistent system. You gain nothing from this except sitting a long time for a for normal work unuseable machine.
Not sure why you need to reboot twice - you'd apply a kernel update
online in a non-transactional way (we have working ways of "rolling"
back to the old kernel). So the reboot updates the kernel, from
the initrd you apply the update and simply continue booting?
Updates usually are small, so this won't take long (assuming you
have downloaded them before, of course).
The interesting part is of course some intelligence to decide which
updates to apply online and which ones to do "transactional".
Richard.
--
Richard Biener