lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Sep 2007 19:05:29 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	Dan Stromberg <dstromberglists@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Building a kernel-source RPM (not a kernel RPM)?

On Wed, Sep 12, 2007 at 09:13:41AM -0700, Dan Stromberg wrote:
> 
> I sent this to kernel newbies first, and while I got one response there,
> it answered a different question than the one I was asking...
> 
> I'm on a SuSE system.
> 
> I'm working on automating the install of said system, but it needs a
> Linus kernel - 2.6.21.7 specifically, and it needs kernel source too so
> that we can build modules in the field as needed.
> 
> I see you can make an rpm of a bootable kernel with "make rpm".
> 
> Is there a streamlined way of building a corresponding kernel-source
> RPM?  Or do people pretty much all just dump the source in /usr/src, and
> manually update symlinks as needed?  If the latter, what symlinks need
> to be updated?

Being rpm ignorant I do not know what the expected content of a kernel-source RPM
are but this is the available targets for kernel packaging (from 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


I just tried binrpm-pkg - but alas I have no rpm installed it failed.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ