[arch-general] Keep older kernel intact while upgrading to new kernel

C Anthony Risinger anthony at extof.me
Sat Jul 17 15:17:07 EDT 2010


On Sat, Jul 17, 2010 at 2:08 PM, Loui Chang <louipc.ist at gmail.com> wrote:
> On Sat 17 Jul 2010 12:15 -0500, C Anthony Risinger wrote:
>> On Jul 17, 2010, at 11:42 AM, Loui Chang <louipc.ist at gmail.com> wrote:
>>
>> > On Sat 17 Jul 2010 11:06 -0500, Victor Lowther wrote:
>> >> Oh, I do.  I would just prefer to work with the package management
>> >> framework, not work around it.
>> >
>> > I think this is something that hooks could do. It's a feature that's
>> > in brainstorming. Maybe you could help implement it.
>> >
>> > http://wiki.archlinux.org/index.php/User:Allan/Pacman_Hooks
>>
>> As a heads up, this (kernel rollbacks) is a planned feature of the
>> mkinitcpio-btrfs hook in AUR.  It will be implemented in one or more
>> of about three ways:
>>
>> https://bbs.archlinux.org/viewtopic.php?pid=778395#p778395
>>
>> You must be using btrfs for / of course.
>
> So, that's not something that would work within the package management
> framework, is it?

no, it would not.  it requires you to manually run the proper command
prior to upgrading.  it could be automated by either a pacman hook, or
putting the command in a wrapper script around pacman.  there has been
some big interest in rollback from a couple devs, so maybe it will
make its way into pacman/libalpm official, but idk.

at any rate, it will be a solution to the kernel rollback problem, and
will suffice for some; it's just that it requires a btrfs root.  the
next release will include this functionality, along with a tool to
work with/create system snapshots (and for use in said wrapper).

C Anthony


More information about the arch-general mailing list