public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC Kernel PATCH 0/1] support creation of linux-perf packages
@ 2019-08-28  7:17 Cedric Hombourger
  2019-08-28  7:17 ` [RFC Kernel PATCH 1/1] builddeb: " Cedric Hombourger
  0 siblings, 1 reply; 7+ messages in thread
From: Cedric Hombourger @ 2019-08-28  7:17 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

Hello all,

As you may know we are using the kernel "make deb-pkg" infrastructure to build and
package our custom kernels. When we upgrade the kernel to a more recent version than
Debian (e.g. when targeting use of 5.x kernel while Debian 10 is on 4.19), we lose
support for perf since the created rootfs will not have a perf binary matching the
kernel version we are running (/usr/bin/perf will be looking for perf_5.3 if you are
running a 5.3 kernel). This patch modifies the builddeb and mkdebian scripts from the
Linux kernel tree to generate linux-perf packages with a structure matching Debian's

I would anticipate that our build-kernel.sh script would be modified to build/package
the kernel with "make deb-pkg KDEB_PERF=1" (should cause no harm for older kernel
builds).

I would appreciate your review comments before submitting this to the Linux kernel
folks

TIA!

Cedric Hombourger (1):
  builddeb: support creation of linux-perf packages

 scripts/package/builddeb | 32 ++++++++++++++++++++++++++++++++
 scripts/package/mkdebian | 26 ++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-04  8:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28  7:17 [RFC Kernel PATCH 0/1] support creation of linux-perf packages Cedric Hombourger
2019-08-28  7:17 ` [RFC Kernel PATCH 1/1] builddeb: " Cedric Hombourger
2019-08-30 13:58   ` Henning Schild
2019-09-03  8:01     ` Cedric Hombourger
2019-09-03 14:59       ` Baurzhan Ismagulov
2019-09-03 15:19         ` Jan Kiszka
2019-09-04  8:37           ` Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox