[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: make-kpkg and apt-get updates

*- On  3 Oct, Brian Servis wrote about "RE: make-kpkg and apt-get updates"
> *- On  3 Oct, peter karlsson wrote about "RE: make-kpkg and apt-get updates"
>>> kernel-package is the way to go.  Name your revisions like
>>> <hostname>.<kernel-version>-<pkg-version>, and you'll not have problems
>>> (I haven't, anyway :)
>> One problem is how do I have several compilations of the same kernel version
>> installed? Right now, I have two 2.2.12 compilations installed, for
>> instance. How do I do that with make-kpkg?
> make-kpkg clean
> make-kpkg --revision=custom.1 .......
> make [x|menu]config
> make-kpkg clean
> make-kpkg --revision=custom.2 .......
> But then you will have problems in /lib/modules since they both install
> a 2.2.12 directory.
> There is also the flavour option, the man for make-kpkg says you need a
> patched kernel but I think the 2.2.x series of kernels does not require
> it.
> make-kpkg clean
> make-kpkg --revision=custom.1 --flavour=-allmod .......
> make [x|menu]config
> make-kpkg clean
> make-kpkg --revision=custom.2 --flavour=-nomod  .......
> Then the modules will be put in /lib/modules/2.2.12-allmod and
> 2.2.12-nomod respectively and the kernel will know which dir to look in.
> Note that the - is necessary in the flavour field or else you will get
> 2.2.12allmod.

WARNING!!!  I think I spoke incorrectly on the flavour issue.  I am not
positive on this behavior so please read the docs and man pages
provided with kernel-package.  Particularly the statement about the
kernel knowing which modules to use might be wrong.  

There is mention of a change with regards to flavours in kernel-package
>=6.10 but I could not find an more details on this.

Can anybody who knows for sure please speak up on the flavours issue.

Brian Servis
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.

Reply to: