Skip to content

rpm-pkg kernel rpm build method doesn't work on CBL-Mariner #4404

Open
@dankamongmen

Description

@dankamongmen

I'm accustomed to using the rpm-pkg target of the kernel Makefile to build custom kernel RPMs on Fedora-like systems. I would have expected this to work on CBL-Mariner, but it fails with "Error reading spec file in tarball". I debugged this for a bit, and it looks like this comes down to missing RPM macros from /etc/rpm, installed as part of the fedpkg and fedora-packager RPMs (not part of CBL-Mariner).

I can of course build a kernel tarball and just install it myself, but it seems useful for CBL-Mariner to ensure the rpm-pkg kernel build process works, especially since it almost does.

If there's some other recommended method for building custom kernels which I've missed, my apologies!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions