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

2010-07-17 Thread Евгений Борисов
I think it's a bad idea, because the directory /lib/modules/$oldVersion$
will be removed when the package is upgraded kernel. Trivial solution not
exists.

2010/7/17 ganlu rhythm@gmail.com

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2010年07月17日 15:46, Ionuț Bîru wrote:
  On 07/17/2010 09:27 AM, Madhurya Kakati wrote:
  Hi,
  While updating to a new kernel pacman replaces the older kernel with
  the new
  one. Is there someway to keep the older kernel in /boot and have new
  entries
  for new kernel in menu.lst while keeping old entries intact?
 
  no
 
 You can alway do it manually, simply copy the old kernel image as other
 name before you update, then modify the correspondent line in menu.1st
 file.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJMQWwCAAoJEOaLWowX7DBTyPYH/jVEL3/YbKpw4g2YQeEDIKhN
 E1HHpBq0LLxHmqe5N8C79VzGV8V2RSu/B6qsmzjO3f98xd2E+ev4Etd8YGOV5vvU
 pkKu+UOeDEubFrX75L1/802wTIfO5DI21VaLpRKD/+JJ2R2rTa1Bk2HmTF5DWmoh
 mpVXOydJyIXNeu2BVUemjn4TK2t6IGs22yCI107F5uD3SV1ZtpavsZ3xZCav3e6B
 x2R8C2NCF/r3BnVE3BYh9AlX617/F03hCQPOKMyXjLnMylrVvfkxMM1Q9kW97pcl
 nGR+1YUbNgTnaylyls2dOp4UAwzALcCDVwq9oJnitTcR6f/OlIH6ELUtX0gvUUU=
 =t+0W
 -END PGP SIGNATURE-



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

2010-07-17 Thread Евгений Борисов
BTRFS is not marked stable by developers, so it can not  used in stable
arch.

2010/7/17 C Anthony Risinger anth...@extof.me

 On Sat, Jul 17, 2010 at 2:08 PM, Loui Chang louipc@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@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