lkml.org 
[lkml]   [2024]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] Enable building of the devel RPM package from Kbuild
On Wed, Apr 17, 2024 at 04:37:32AM +0000, Pratham Patel wrote:
> This addresses a minor nit where I want a `-devel` RPM package to be
> built when I build a binary RPM package with either `binrpm-pkg`
> or `rpm-pkg` target(s).
>
> Pratham Patel (2):
> kbuild: allow toggling the `with_devel` RPM macro
> docs: kbuild: document KBUILD_RPM_WITH_DEVEL
>
> Documentation/kbuild/kbuild.rst | 6 ++++++
> scripts/Makefile.package | 5 ++++-
> 2 files changed, 10 insertions(+), 1 deletion(-)
>
> --
> 2.42.0
>

Hmmm, when I execute

$ make -skj"$(nproc)" ARCH=x86_64 O=build mrproper defconfig binrpm-pkg

I end up with

$ ls -1 build/rpmbuild/RPMS/x86_64
kernel-6.9.0_rc4_00031_g96fca68c4fbf-1.x86_64.rpm
kernel-devel-6.9.0_rc4_00031_g96fca68c4fbf-1.x86_64.rpm
kernel-headers-6.9.0_rc4_00031_g96fca68c4fbf-1.x86_64.rpm

so it seems like this is already happening?

Cheers,
Nathan

\
 
 \ /
  Last update: 2024-04-17 16:51    [W:0.383 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site