Rename kernel external build packages

Hello everyone,

I based on the documents:

Kernel Module Packages - openSUSE
and www.novell.com/developer/Kmpm-code11.pdf

to build hello module package by using BUILD command .

However, the result rpm package name has been added “-kmp-default”, for example hello-kmp-default-2.1.1.rpm Is is the default behavior? Can we modify the configuration or spec files to make the build process not to add the extra name to the rpm name, i.e hello-2.1.1.rpm instead of hello-kmp-default-2.1.1.rpm?

Thank you,

Regards,

I am not an expert on building RPM’s, but I have a few links I would look at I think:

New One on build service: https://en.opensuse.org/openSUSE:Build_Service_Tutorial

Old One stand alone: Cool Solutions: Beginner’s Guide to Using Novell SUSE Linux’s Build Utility

Generic: Packaging software with RPM, Part 1: Building and distributing packages

Older openSUSE: openSUSE – Build a rpm package | Eureka!

Just a few things I have found.

Thank You,

On Tue 05 Mar 2013 02:36:01 AM CST, naruto uzu wrote:

Hello everyone,

I based on the documents:

Kernel Module Packages - openSUSE
and www.novell.com/developer/Kmpm-code11.pdf

to build hello module package by using BUILD command .

However, the result rpm package name has been added “-kmp-default”, for
example hello-kmp-default-2.1.1.rpm Is is the default behavior? Can we
modify the configuration or spec files to make the build process not to
add the extra name to the rpm name, i.e hello-2.1.1.rpm instead of
hello-kmp-default-2.1.1.rpm?

Thank you,

Regards,

Hi
But kernel modules are specific to a kernel flavor eg default they also
install in the correct directory tree as well as moving on a kernel
update to weak-updates so they keep working over a kernel update until
an updated kmp is built…

hello-blah would not do this…

You can define the flavors in the rpm spec file.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.28-2.20-desktop
up 8 days 0:47, 4 users, load average: 0.10, 0.15, 0.15
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile