building a kernel RPM from the source

Robert P. J. Day rpjday at mindspring.com
Thu Nov 23 16:39:25 UTC 2006


  if i might start a new thread related to this, it's possible to
create "packages" of various formats from a stock kernel source tree:

  $ make help
  ...
  Kernel packaging:
    rpm-pkg         - Build the kernel as an RPM package
    binrpm-pkg      - Build an rpm package containing the compiled kernel
                      and modules
    deb-pkg         - Build the kernel as an deb package
    tar-pkg         - Build the kernel as an uncompressed tarball
    targz-pkg       - Build the kernel as a gzip compressed tarball
    tarbz2-pkg      - Build the kernel as a bzip2 compressed tarball

  you can see how each of these is built in scripts/package/Makefile.
i've only glanced at that Makefile but, personally, i'm a little put
off by the fact that trying to build the rpm package first cleans my
tree.  i might give some thought to rewriting that Makefile to make it
a little less destructive.

rday




More information about the fedora-list mailing list