From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6755821036247187456 X-Received: by 2002:a19:e011:: with SMTP id x17mr18435545lfg.59.1576002131289; Tue, 10 Dec 2019 10:22:11 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:8488:: with SMTP id g130ls1765050lfd.11.gmail; Tue, 10 Dec 2019 10:22:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzgVmLq2iV6mwUoGE9zv2eLXnB3X8LDuLnE7O4KGomq1Fd+YIbrdmz8ObOShkZLe+vWWfkk X-Received: by 2002:ac2:599c:: with SMTP id w28mr20375546lfn.78.1576002130163; Tue, 10 Dec 2019 10:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576002130; cv=none; d=google.com; s=arc-20160816; b=mvwWXW09SZAR69YDnSw6ozRgCXUvoIdWDZNz67H/VVjW0J84rHPgt8f9pZOKHud2P4 BOVMJ50DibnZCsNJ3r0Pj2/vV8/Tu2EJfE92syBDySFsFbBQpWYu046A9+fxkX4efcR/ jn9FgDTpoTh7NMMXedB5cAuvkF0PON272DmIoLqgyoe3cNWMJZ4OW5xD3BpbBlUm5Bnq M+8+1NEzRkLp40PWf65MLeemYhtcmx0rs6z+mOWoTLKXxqEhfqMu87ELxe9O8BFx8vaK cutrNGvktG4JL+TeXqqtHERmvkLpmvxJ2KhyHxAyUbi+LE5/3Es9v8TbtOdlYRXOjg+N 3AVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from; bh=oENTFQBaFyrPRdKchSlb2QAbZnooKHIbnpQlt+oUjI8=; b=mykUgB0WDtsDbdJP9wWuRqt1TVWW6Q9ockrkfmKtRlpNN/XzdSAOEzDW+a0Ic+3FYC IZrGOBF3zlXnhHAgx9Ca5FrYmxrQOVILNJK6TjqUTPzFRto6j/fMjlAxBr5/VUbFsw81 n0ypclka3e8SjSrc2D62uWsJxGl49UmyYkpIWRI+gQbfcoY+DFVks4XcH5RkysJ2HTEW 0pX8oqPdw1/W4M+O3/oD+WXAC00m3dMruDpjU5FquQFdJqn369+xPsf7M7jmxCJxVE6X 7+DITwoP+/LIsl57c8H9haPx4qWgetuvq6IjepBIDRWTHOv+AxBTZSlqRHnbNh7Ku8H3 IDZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id o24si211904lji.4.2019.12.10.10.22.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Dec 2019 10:22:10 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id xBAIM9n9007678 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Dec 2019 19:22:09 +0100 Received: from md1f2u6c.ad001.siemens.net ([139.25.68.37]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id xBAIM9NB019987; Tue, 10 Dec 2019 19:22:09 +0100 From: Jan Kiszka To: isar-users Cc: Cedric Hombourger Subject: [PATCH v5 0/5] linux-custom recipe rework Date: Tue, 10 Dec 2019 19:22:03 +0100 Message-Id: X-Mailer: git-send-email 2.16.4 X-TUID: 2gHr6MDGeedF Adopting Cedric patches, removing the qemu-user trick for now, re-adding test cases for the config fragments and bumping the kernel to 4.19.88. CI tests look good so far. I tested a functionally identical version against jailhouse-images earlier already. Jan CC: Cedric Hombourger Cedric Hombourger (4): 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.88 linux-custom: rewrite to no longer depend on the kernel's builddeb Jan Kiszka (1): linux-mainline: Test config fragments RECIPE-API-CHANGELOG.md | 8 + doc/custom_kernel.md | 83 ++++++++ .../recipes-kernel/linux/files/no-root-nfs.cfg | 1 + .../recipes-kernel/linux/files/no-ubifs-fs.cfg | 1 + .../recipes-kernel/linux/linux-mainline_4.19.0.bb | 22 --- .../recipes-kernel/linux/linux-mainline_4.19.88.bb | 33 ++++ meta/recipes-kernel/linux/files/build-kernel.sh | 129 ------------- meta/recipes-kernel/linux/files/debian/compat | 1 + .../recipes-kernel/linux/files/debian/control.tmpl | 37 ++++ .../linux/files/debian/isar/build.tmpl | 45 +++++ .../linux/files/debian/isar/clean.tmpl | 21 +++ .../linux/files/debian/isar/common.tmpl | 50 +++++ .../linux/files/debian/isar/install.tmpl | 192 +++++++++++++++++++ .../linux/files/debian/isar/version.cfg.tmpl | 2 + .../linux/files/debian/linux-image.postinst.tmpl | 29 +++ .../linux/files/debian/linux-image.postrm.tmpl | 35 ++++ .../linux/files/debian/linux-image.preinst.tmpl | 25 +++ .../linux/files/debian/linux-image.prerm.tmpl | 21 +++ meta/recipes-kernel/linux/files/debian/rules.tmpl | 39 ++++ meta/recipes-kernel/linux/linux-custom.inc | 209 +++++++++++++++------ 20 files changed, 778 insertions(+), 205 deletions(-) create mode 100644 doc/custom_kernel.md create mode 100644 meta-isar/recipes-kernel/linux/files/no-root-nfs.cfg create mode 100644 meta-isar/recipes-kernel/linux/files/no-ubifs-fs.cfg delete mode 100644 meta-isar/recipes-kernel/linux/linux-mainline_4.19.0.bb create mode 100644 meta-isar/recipes-kernel/linux/linux-mainline_4.19.88.bb 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/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/isar/version.cfg.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 100644 meta/recipes-kernel/linux/files/debian/linux-image.preinst.tmpl create mode 100644 meta/recipes-kernel/linux/files/debian/linux-image.prerm.tmpl create mode 100755 meta/recipes-kernel/linux/files/debian/rules.tmpl -- 2.16.4