* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [020926 03:36]:
> How can I change a deb name in a consistent manner without building
> it from source? Will it be easier then building it from source? For
> example, can I extract it with dpkg-deb, modify a few files and 
> repackage it?
> 
> The problem I have at hands is that I have a kernel image
>     kernel-image-2.4.19-486custom.3_486custom.3_i386.deb 
> and I want it to become 
>     
>kernel-image-2.4.19-custom.with.aic7xxx.probing.3_custom.with.aic7xxx.probing.3_i386.deb

Unfortunately, it's not as simple as that.  Generally speaking, you
should be able to open up a deb, edit some files, and re-package it as a
deb with a new name, but this won't be good enough for your kernel
package.

The kernel info like -486custom.3 is actually built into the kernel.  As
evidence of this, look at the output of uname -r, and also watch where
the kernel will look for modules under /lib.  You could probably get
around the module problem with some symlink hackery, but you're probably
best off avoiding headaches by just recompiling it.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"Extremism in the defense of liberty is no vice.
Moderation in the pursuit of justice is no virtue."  -- Barry Goldwater 

Attachment: msg03837/pgp00000.pgp
Description: PGP signature

Reply via email to