public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v4 0/8] Provide infrastructure and examples for custom kernels and modules
@ 2018-02-11 15:25 Jan Kiszka
  2018-02-11 15:25 ` [PATCH v4 1/8] Forward proxy settings to dpkg build Jan Kiszka
                   ` (8 more replies)
  0 siblings, 9 replies; 36+ messages in thread
From: Jan Kiszka @ 2018-02-11 15:25 UTC (permalink / raw)
  To: isar-users

This is now finally the promised patches to provide simple patterns for
building custom kernels for Isar images that replace the distro kernels.
It also provids the same pattern for custom out-of-tree kernel modules.

Along come two fixes, one to respect proxies during dpkg builds, the
other to adjust isar-apt repo prio.

Furthermore, I'm proposing to rename "SRC_DIR" to OE-standard "S".

Changes in v3 (only resent patch 5):
 - allow central overriding of kernel dependencies

Changes in v4
 - simplified changes to isar-image-base.bb by reordering code
 - modeled custom kernel build as class

Jan

Jan Kiszka (8):
  Forward proxy settings to dpkg build
  Prioritize isar-apt repo over all others
  Replace SRC_DIR with S
  Install kernel via replaceable recipe
  Provide class for easy custom kernel builds
  Add custom kernel examples
  Provide include file for easy custom module builds
  Add exemplary kernel module

 doc/user_manual.md                                 |   6 +-
 meta-isar/conf/distro/debian-jessie.conf           |   2 +
 meta-isar/conf/distro/debian-stretch.conf          |   2 +
 meta-isar/conf/distro/debian-wheezy.conf           |   2 +
 meta-isar/conf/distro/raspbian-jessie.conf         |   2 +
 meta-isar/conf/local.conf.sample                   |   2 +-
 meta-isar/conf/multiconfig/qemuamd64-jessie.conf   |   2 +-
 meta-isar/conf/multiconfig/qemuamd64-stretch.conf  |   3 +-
 meta-isar/conf/multiconfig/qemuarm-jessie.conf     |   2 +-
 meta-isar/conf/multiconfig/qemuarm-stretch.conf    |   3 +-
 meta-isar/conf/multiconfig/qemuarm-wheezy.conf     |   2 +-
 meta-isar/conf/multiconfig/qemui386-jessie.conf    |   2 +-
 meta-isar/conf/multiconfig/qemui386-stretch.conf   |   3 +-
 meta-isar/conf/multiconfig/rpi-jessie.conf         |   3 +-
 .../recipes-app/example-hello/example-hello.bb     |   2 +-
 meta-isar/recipes-app/libhello/libhello.bb         |   2 +-
 .../recipes-core/images/files/multistrap.conf.in   |   1 +
 meta-isar/recipes-core/images/isar-image-base.bb   |   3 +
 .../example-module/example-module.bb               |  12 +
 .../example-module/files/src/Makefile              |  18 ++
 .../example-module/files/src/example-module.c      |  19 ++
 meta-isar/recipes-kernel/linux/files/defconfig     | 308 +++++++++++++++++++++
 meta-isar/recipes-kernel/linux/linux-cip_4.4.bb    |  17 ++
 .../recipes-kernel/linux/linux-mainline_4.14.18.bb |  15 +
 meta/classes/dpkg.bbclass                          |   3 +-
 meta/classes/linux-kernel.bbclass                  |  98 +++++++
 meta/recipes-devtools/buildchroot/buildchroot.bb   |   4 +-
 .../buildchroot/files/isar-apt-prefs               |   3 +
 .../buildchroot/files/multistrap.conf.in           |   1 +
 .../linux-module/files/debian/changelog            |   5 +
 .../linux-module/files/debian/compat               |   1 +
 .../linux-module/files/debian/control              |  11 +
 .../recipes-kernel/linux-module/files/debian/rules |  15 +
 meta/recipes-kernel/linux-module/module.inc        |  24 ++
 meta/recipes-kernel/linux/linux-distro.bb          |  16 ++
 35 files changed, 598 insertions(+), 16 deletions(-)
 create mode 100644 meta-isar/recipes-kernel/example-module/example-module.bb
 create mode 100644 meta-isar/recipes-kernel/example-module/files/src/Makefile
 create mode 100644 meta-isar/recipes-kernel/example-module/files/src/example-module.c
 create mode 100644 meta-isar/recipes-kernel/linux/files/defconfig
 create mode 100644 meta-isar/recipes-kernel/linux/linux-cip_4.4.bb
 create mode 100644 meta-isar/recipes-kernel/linux/linux-mainline_4.14.18.bb
 create mode 100644 meta/classes/linux-kernel.bbclass
 create mode 100644 meta/recipes-devtools/buildchroot/files/isar-apt-prefs
 create mode 100644 meta/recipes-kernel/linux-module/files/debian/changelog
 create mode 100644 meta/recipes-kernel/linux-module/files/debian/compat
 create mode 100644 meta/recipes-kernel/linux-module/files/debian/control
 create mode 100755 meta/recipes-kernel/linux-module/files/debian/rules
 create mode 100644 meta/recipes-kernel/linux-module/module.inc
 create mode 100644 meta/recipes-kernel/linux/linux-distro.bb

-- 
2.13.6


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

end of thread, other threads:[~2018-02-13 10:21 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-11 15:25 [PATCH v4 0/8] Provide infrastructure and examples for custom kernels and modules Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 1/8] Forward proxy settings to dpkg build Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 2/8] Prioritize isar-apt repo over all others Jan Kiszka
2018-02-12  9:33   ` Alexander Smirnov
2018-02-12  9:41     ` Jan Kiszka
2018-02-12 10:08       ` Alexander Smirnov
2018-02-12 10:11         ` Jan Kiszka
2018-02-12 10:27           ` Jan Kiszka
2018-02-12 13:09             ` Alexander Smirnov
2018-02-12 13:45               ` Jan Kiszka
2018-02-12 16:31                 ` Alexander Smirnov
2018-02-12 17:00                   ` Jan Kiszka
2018-02-12 17:27                     ` Jan Kiszka
2018-02-12 18:51                     ` Alexander Smirnov
2018-02-13  7:22                       ` Jan Kiszka
2018-02-13  8:09                         ` Alexander Smirnov
2018-02-13  8:22                           ` Jan Kiszka
2018-02-13  8:45                             ` Alexander Smirnov
2018-02-13  8:51                               ` Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 3/8] Replace SRC_DIR with S Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 4/8] Install kernel via replaceable recipe Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 5/8] Provide class for easy custom kernel builds Jan Kiszka
2018-02-12 18:56   ` Alexander Smirnov
2018-02-13  7:03     ` Jan Kiszka
2018-02-13  8:19       ` Alexander Smirnov
2018-02-13  8:24         ` Jan Kiszka
2018-02-13  9:53       ` Henning Schild
2018-02-13 10:21         ` Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 6/8] Add custom kernel examples Jan Kiszka
2018-02-12 19:02   ` Alexander Smirnov
2018-02-13  7:03     ` Jan Kiszka
2018-02-13  8:16       ` Alexander Smirnov
2018-02-13  8:24         ` Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 7/8] Provide include file for easy custom module builds Jan Kiszka
2018-02-11 15:25 ` [PATCH v4 8/8] Add exemplary kernel module Jan Kiszka
2018-02-13  9:41 ` [PATCH v4 0/8] Provide infrastructure and examples for custom kernels and modules Alexander Smirnov

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