Results 1 to 3 of 3

Thread: Rename kernel external build packages

  1. #1

    Default 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,

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Rename kernel external build packages

    Quote Originally Posted by naruto_uzu View Post
    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,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,878
    Blog Entries
    15

    Default Re: Rename kernel external build packages

    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


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •