Patch to scripts/mkspec

From: Dag Wieers (dag@wieers.com)
Date: Sun Aug 19 2001 - 02:16:37 EST


Hey,

I've changed my patch a bit.

  + tarball is called: kernel-2.4.8-ac7.tar.gz
      package: kernel-2.4.8_ac7-15.i386.rpm
      kernel image: kernel-2.4.8-ac7-15
      kernel itself: kernel-2.4.8-ac7

      (I rather have the kernel named kernel-2.4.8-ac7-15 too so modules
       don't conflict if you've got several builds from the same tree)

  + seperate documentation package
      (I rather put this in a seperate spec-file and add a make doc-rpm)

  + .config is added to the package

  + use of macros (which is allowed since rpm v3 I think)
      Alan, I know you disapprove this, but I'm not sure it matters
      Documentation of RPM is bad though.

  + package now is eg. i686 if kernel is built for i686

Advantages:

  + you can install kernels that only differ in release-nr (except for modules)
  + packages build on the same tree (for different machines) have a unique
      name (otherwise it is a sysadmin hell)

Todo:

  + make it not i386-specific (as we use bzImage, right ?)
  + if the kernel is SMP, the package should say so
  + add the .version in the Makefile to KERNELRELEASE (so that the tarball
      and modules-dir have a unique name for each build)
  + build the DocBook-stuff for the documentation (although you need more
      dependencies, so moving it to a seperate spec-file makes sense)
  + add builddependencies (although this could be a distro-nightmare)

Could you give me feedback (as I didn't get a reply on my previous mail).

Thanks in advance,

-- dag wieers, dag@wieers.com, http://dag.wieers.com/ --
«Onder voorbehoud van hetgeen niet uitdrukkelijk wordt erkend»



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:30 EST