From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6755821036247187456 X-Received: by 2002:a2e:2e03:: with SMTP id u3mr6989382lju.115.1572969350085; Tue, 05 Nov 2019 07:55:50 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:15b:: with SMTP id m27ls6099lfo.1.gmail; Tue, 05 Nov 2019 07:55:49 -0800 (PST) X-Google-Smtp-Source: APXvYqw28Z3Z4wIYFGGhwo1wckpsP2bZlN7HYdGnCESW3Sf8lKLgHpjL9/fohD5fPoDkADtCbIkO X-Received: by 2002:a19:9144:: with SMTP id y4mr21116778lfj.168.1572969349527; Tue, 05 Nov 2019 07:55:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572969349; cv=none; d=google.com; s=arc-20160816; b=x7ZlG5wNypgPbDfT+TGh2abPRcFuzhVh+64j62cHg9xdJvtoYthPs4oTD+wRbUKgat 5J/BLiCT2iY/ts/fxihaXdf4MCQlRO8KaqtBpvrrHanFkljP9975LUsVCITpG4Gy181o pL71UVqsCmQYq6/9LztDyofii92rcjpIm1uKWje10txZpZUxuOiFQv+Ho2gkYCuIjTkG 18Xz4gT1cfFPfoYGKtoQWD27p7Mk3qSEYxEqWMPXv1yJDGWRoZIQ/G0lymjhfvQic2AP sKI5by2nmew9uz5fSFJF5N7qd9rkxpj4hmyasqzcP+Z6ixOkwN+5jWqy9WNgxO/GGMJQ SiQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=8fyj2f06ruKFqLP8/ScYEVxPGdPN2VLwsUC0KAXKs/A=; b=a5mkkAjNHRlRRg/2KLBBLc85YXGb02/PRNLBicBi4ElpKto8hKIBXFfV48szOsy5I+ ETVVzWBiKrsHq/Yk/J8NAW811kO+rFJvt0mJ2655+zRx5l3pOEK/Nr8rK/seVvfGXfGG eztpzETwu2EK9kC9slA0QAHvnVjr60JHazExxJgUKyyPr/3S8t4i+7JR4b9aaLog64EA tV5ZLwFbgVTQg3MZTb/TnrvSF1yOxg5EBAWc59b78v4Hok8Ng+cANJ3BgNdqmw7RlY/i tFnEP0qye2lY6FDLRLNI+fJnmQ5vFsezsC8D8B/JNHsYGQirEEdhlOqnQ7D9H/DAs2uZ Zqdw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@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 c25si959135lji.2.2019.11.05.07.55.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Nov 2019 07:55:49 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@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 henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id xA5FtmNX030304 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Nov 2019 16:55:48 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.0.32]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id xA5Ftmjk007186; Tue, 5 Nov 2019 16:55:48 +0100 Date: Tue, 5 Nov 2019 16:55:47 +0100 From: Henning Schild To: Cedric Hombourger Cc: Subject: Re: [PATCH 0/7] linux-custom recipe rework Message-ID: <20191105165547.620087b1@md1za8fc.ad001.siemens.net> In-Reply-To: <1572962145-318-1-git-send-email-Cedric_Hombourger@mentor.com> References: <1572962145-318-1-git-send-email-Cedric_Hombourger@mentor.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: tKb0qDO1Jo00 Is that not v3? and what has changed since v2? Henning On Tue, 5 Nov 2019 14:55:38 +0100 Cedric Hombourger wrote: > 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 >