[arch-general] Howto Preserve Current Kernel through Update?

Ray Rashif schiv at archlinux.org
Tue Dec 14 02:00:34 EST 2010


On 13 December 2010 03:17, David C. Rankin
<drankinatty at suddenlinkmail.com> wrote:
>        I guess what I don't know is whether simply copying the existing files in the
> manner set out below will screw up any hard-coded links to the old kernel file
> names. (like any links in the copied System.map26-dcr that still point to the
> original System.map26, etc..) So do you know if it is possible to preserve the
> existing kernel on the system as kernel (-dcr), by doing something like:
> snip <

Of course. I'd guess it's the normal way to do it. Think of it as a
manual kernel installation:

https://wiki.archlinux.org/index.php/Kernel_Compilation#Traditional

>        I will definitely use your script to remake the existing kernel package into a
> custom -dcr package and give that a try. The script was great at helping me
> along in this process. (I still need to unravel all the bsdtar options). Also, I
> tweaked the top part of the script to make it a bit more generic and to provide
> a bit of usage information on error. If you like, here are a few bits you could
> incorporate:
> snip <

Sure, consider it done. The final tar+compress is adapted from makepkg, btw.


More information about the arch-general mailing list