public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/7] linux-custom recipe rework
@ 2019-11-05 13:55 Cedric Hombourger
  2019-11-05 13:55 ` [PATCH 1/7] recipes-kernel/linux: make KERNEL_DEFCONFIG support in-tree defconfigs Cedric Hombourger
                   ` (7 more replies)
  0 siblings, 8 replies; 83+ messages in thread
From: Cedric Hombourger @ 2019-11-05 13:55 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

The Linux kernel is packaged a bit differently between Debian variants
and in particular for the perf package(s) in Debian vs Ubuntu. Since
there is no way the kernel build scripts would ever get distro specific
support for building more than the kernel and headers, we need our own
build/packaging scripts. The approach is documented in the custom_kernel.md
file included in this patch series.

This changeset was tested against ci_build.sh and some images were booted
on hardware available here. No regressions were detected (to date).

It is probably a good time to seek comments on the changeset and ideally
get it merged before starting some of the work-packages such as getting
perf packaged for Debian and Ubuntu distros.

Cedric Hombourger (7):
  recipes-kernel/linux: make KERNEL_DEFCONFIG support in-tree defconfigs
  linux-mainline: fix stripping of .0 from the kernel version
  linux-mainline: update from 4.19.0 to 4.19.80
  linux-custom: add support for kernel config fragments
  linux-mainline: disable support for HFS to demonstrate use of config fragments
  buildchroot-host: install qemu-static to support hybrid cross-compiles
  linux-custom: rewrite to no longer depend on the kernel's builddeb

 doc/custom_kernel.md                          | 181 ++++++++++++++++
 .../recipes-kernel/linux/files/no-fs-hfs.cfg  |   2 +
 ...ne_4.19.0.bb => linux-mainline_4.19.80.bb} |   8 +-
 .../buildchroot/buildchroot-host.bb           |   6 +
 .../linux/files/build-kernel.sh               | 129 ------------
 meta/recipes-kernel/linux/files/debian/compat |   1 +
 .../linux/files/debian/control.tmpl           |  36 ++++
 meta/recipes-kernel/linux/files/debian/files  |   5 +
 .../linux/files/debian/isar/build.tmpl        |  36 ++++
 .../linux/files/debian/isar/clean.tmpl        |  20 ++
 .../linux/files/debian/isar/common.tmpl       |  60 ++++++
 .../linux/files/debian/isar/install.tmpl      | 197 ++++++++++++++++++
 .../files/debian/linux-image.postinst.tmpl    |  22 ++
 .../files/debian/linux-image.postrm.tmpl      |  18 ++
 .../linux/files/debian/rules.tmpl             |  39 ++++
 meta/recipes-kernel/linux/linux-custom.inc    | 196 ++++++++++++-----
 16 files changed, 772 insertions(+), 184 deletions(-)
 create mode 100644 doc/custom_kernel.md
 create mode 100644 meta-isar/recipes-kernel/linux/files/no-fs-hfs.cfg
 rename meta-isar/recipes-kernel/linux/{linux-mainline_4.19.0.bb => linux-mainline_4.19.80.bb} (67%)
 delete mode 100644 meta/recipes-kernel/linux/files/build-kernel.sh
 create mode 100644 meta/recipes-kernel/linux/files/debian/compat
 create mode 100644 meta/recipes-kernel/linux/files/debian/control.tmpl
 create mode 100644 meta/recipes-kernel/linux/files/debian/files
 create mode 100644 meta/recipes-kernel/linux/files/debian/isar/build.tmpl
 create mode 100644 meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
 create mode 100644 meta/recipes-kernel/linux/files/debian/isar/common.tmpl
 create mode 100644 meta/recipes-kernel/linux/files/debian/isar/install.tmpl
 create mode 100644 meta/recipes-kernel/linux/files/debian/linux-image.postinst.tmpl
 create mode 100644 meta/recipes-kernel/linux/files/debian/linux-image.postrm.tmpl
 create mode 100755 meta/recipes-kernel/linux/files/debian/rules.tmpl

-- 
2.20.1


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

end of thread, other threads:[~2019-12-09  7:40 UTC | newest]

Thread overview: 83+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 13:55 [PATCH 0/7] linux-custom recipe rework Cedric Hombourger
2019-11-05 13:55 ` [PATCH 1/7] recipes-kernel/linux: make KERNEL_DEFCONFIG support in-tree defconfigs Cedric Hombourger
2019-11-05 13:55 ` [PATCH 2/7] linux-mainline: fix stripping of .0 from the kernel version Cedric Hombourger
2019-11-05 13:55 ` [PATCH 3/7] linux-mainline: update from 4.19.0 to 4.19.80 Cedric Hombourger
2019-11-05 13:55 ` [PATCH 4/7] linux-custom: add support for kernel config fragments Cedric Hombourger
2019-11-05 13:57 ` [PATCH 5/7] linux-mainline: disable support for HFS to demonstrate use of " Cedric Hombourger
2019-11-05 13:57   ` [PATCH 6/7] buildchroot-host: install qemu-static to support hybrid cross-compiles Cedric Hombourger
2019-11-05 14:52     ` Jan Kiszka
2019-11-05 15:00       ` Cedric Hombourger
2019-11-05 15:27         ` Jan Kiszka
2019-11-05 13:57   ` [PATCH 7/7] linux-custom: rewrite to no longer depend on the kernel's builddeb Cedric Hombourger
2019-11-05 15:26     ` Jan Kiszka
2019-11-05 16:20       ` Cedric Hombourger
2019-11-05 16:22       ` Jan Kiszka
2019-11-05 16:25         ` Jan Kiszka
2019-11-05 20:16       ` chombourger
2019-11-05 20:24         ` Jan Kiszka
2019-11-07 11:44     ` Gylstorff Quirin
2019-11-07 11:55       ` Cedric Hombourger
2019-11-07 13:20       ` Cedric Hombourger
2019-11-07 15:43         ` Gylstorff Quirin
2019-11-05 15:32 ` [PATCH 0/7] linux-custom recipe rework Jan Kiszka
2019-11-05 15:55 ` Henning Schild
2019-11-05 16:00   ` Cedric Hombourger
2019-11-05 16:19     ` Henning Schild
2019-11-07  9:23 ` [PATCH L-C v2 " Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 1/7] recipes-kernel/linux: make KERNEL_DEFCONFIG support in-tree defconfigs Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 2/7] linux-mainline: fix stripping of .0 from the kernel version Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 3/7] linux-mainline: update from 4.19.0 to 4.19.80 Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 4/7] linux-custom: add support for kernel config fragments Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 5/7] linux-mainline: disable support for HFS to demonstrate use of " Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 6/7] buildchroot-host: install qemu-static to support hybrid cross-compiles Cedric Hombourger
2019-11-07  9:23   ` [PATCH L-C v2 7/7] linux-custom: rewrite to no longer depend on the kernel's builddeb Cedric Hombourger
2019-11-07 11:50     ` Jan Kiszka
2019-11-07 11:52       ` Jan Kiszka
2019-11-07 11:53       ` Cedric Hombourger
2019-11-07 12:14         ` Jan Kiszka
2019-11-09  8:51     ` Jan Kiszka
2019-11-09 13:43       ` Cedric Hombourger
2019-11-22 18:58         ` Jan Kiszka
2019-11-25 16:04           ` [PATCH L-C v4 0/5] linux-custom recipe rework Cedric Hombourger
2019-11-25 16:04             ` [PATCH L-C v4 1/5] recipes-kernel/linux: make KERNEL_DEFCONFIG support in-tree defconfigs Cedric Hombourger
2019-11-25 16:04             ` [PATCH L-C v4 2/5] linux-mainline: fix stripping of .0 from the kernel version Cedric Hombourger
2019-11-25 16:04             ` [PATCH L-C v4 3/5] linux-mainline: update from 4.19.0 to 4.19.80 Cedric Hombourger
2019-11-25 16:04             ` [PATCH L-C v4 4/5] buildchroot-host: install qemu-static to support hybrid cross-compiles Cedric Hombourger
2019-11-25 16:06             ` [PATCH L-C v4 5/5] linux-custom: rewrite to no longer depend on the kernel's builddeb Cedric Hombourger
2019-11-25 19:55               ` Jan Kiszka
2019-11-26  7:42                 ` Cedric Hombourger
2019-11-26  9:13                   ` Jan Kiszka
2019-11-26 17:10               ` Gylstorff Quirin
2019-11-25 16:16             ` [PATCH L-C v4 0/5] linux-custom recipe rework Jan Kiszka
2019-11-27 15:49             ` Gylstorff Quirin
2019-12-05 17:01             ` Baurzhan Ismagulov
2019-12-09  7:29               ` Jan Kiszka
2019-12-09  7:40                 ` Cedric Hombourger
2019-11-07 11:39   ` [PATCH L-C v2 0/7] " Jan Kiszka
2019-11-07 11:47     ` chombourger
2019-11-07 11:48     ` Jan Kiszka
2019-11-08  7:07   ` [PATCH L-C v3 " Cedric Hombourger
2019-11-08  7:07     ` [PATCH L-C v3 1/7] recipes-kernel/linux: make KERNEL_DEFCONFIG support in-tree defconfigs Cedric Hombourger
2019-11-08  7:07     ` [PATCH L-C v3 2/7] linux-mainline: fix stripping of .0 from the kernel version Cedric Hombourger
2019-11-08  7:07     ` [PATCH L-C v3 3/7] linux-mainline: update from 4.19.0 to 4.19.80 Cedric Hombourger
2019-11-08  7:07     ` [PATCH L-C v3 4/7] linux-custom: add support for kernel config fragments Cedric Hombourger
2019-11-08  7:07     ` [PATCH L-C v3 5/7] linux-mainline: disable support for HFS to demonstrate use of " Cedric Hombourger
2019-11-08  7:07     ` [PATCH L-C v3 6/7] buildchroot-host: install qemu-static to support hybrid cross-compiles Cedric Hombourger
2019-11-08  7:14       ` Jan Kiszka
2019-11-08  7:22         ` Jan Kiszka
2019-11-08  7:23           ` Cedric Hombourger
2019-11-08  7:22         ` Cedric Hombourger
2019-11-08  7:35           ` Jan Kiszka
2019-11-08  7:59             ` Cedric Hombourger
2019-11-08  8:28               ` Jan Kiszka
2019-11-08  7:07     ` [PATCH L-C v3 7/7] linux-custom: rewrite to no longer depend on the kernel's builddeb Cedric Hombourger
2019-11-08  7:19       ` Jan Kiszka
2019-11-08  7:36         ` Cedric Hombourger
2019-11-08  7:41           ` Jan Kiszka
2019-11-08  7:12     ` [PATCH L-C v3 0/7] linux-custom recipe rework Jan Kiszka
2019-11-08  7:27       ` Cedric Hombourger
2019-11-08  7:37         ` Jan Kiszka
2019-11-08  7:42           ` Cedric Hombourger
2019-11-08  7:54             ` Jan Kiszka
2019-11-08  8:01               ` Cedric Hombourger
2019-11-08  8:16                 ` Cedric Hombourger

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