Mailinglist Archive: opensuse-factory (422 mails)

< Previous Next >
Re: [opensuse-factory] A suse way to buil an rpm package from kernel source
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Mon, 5 Jan 2009 15:19:22 +0100
  • Message-id: <20090105141922.GA19547@xxxxxxx>
On Mon, Jan 05, 2009 at 03:19:28PM +0100, Daniele wrote:
Il lunedì 05 gennaio 2009, Ken Schneider scrisse:

/usr/src/linux # grep rpm Makefile
# rpm target kept for backward compatibility
rpm: include/config/kernel.release FORCE

Perhaps this will create the rpm, I have never used it.
Ken, building rpm it's easy, you simple need to call "make binrpm-pkg"
or "make rpm-pkg". The problems is that rpm i very generic so with wrong
"provide" and without mkinitr/update-bootloader calls..
Look at /usr/src/linux/scripts/package; mkspec is used to build rpm.
I'll try to edit that script but I dont' know exactly what to do...

So what do you actually want to do?

Build your own kernel? Then check out the kernel-source SRPM and just add
your changes that you need and rebuild the kernel-<flavour>.rpm from it.

For repackaging an installed kernel above might be the way.

Ciao, Marcus
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups