From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6755821036247187456 X-Received: by 2002:a1c:96c9:: with SMTP id y192mr5217291wmd.8.1572970769729; Tue, 05 Nov 2019 08:19:29 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:1:: with SMTP id g1ls3506527wmc.2.canary-gmail; Tue, 05 Nov 2019 08:19:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyrZgnTKb2ou9zKuqLlkIJY26Ee6Pc6pVYYM44qV/YTZoocJmIfogh2TRLwFW1adGWgwpd6 X-Received: by 2002:a1c:7c16:: with SMTP id x22mr5083902wmc.46.1572970769171; Tue, 05 Nov 2019 08:19:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572970769; cv=none; d=google.com; s=arc-20160816; b=IG04ESYNWWVL5x+vNS69bM0IG0fQWFkPRt7YfLsSa3eaibhHMay29o9qrZzoYpTSpu DzZN2ETSyATgExq8LxWHSwlZdVBccrjfnUQkiouh3LHYFflVQqfHzjgyMxJY35Xxj6I6 fAuuDSCpU1i8UKAHCxFkiD57a/eXz+GdFbDzUrKYSJO5f7JFZyWQoM93IEoFjbPBJE9t 3SJ4ZDQTi3UktW+WYAPxUGMjVqXVW7E4DKfSVVIVXqr+LjhKjExnrm/J7a7eB3lrcFrB s4OR+K56SwuDO9rlLmirb9+LLO53Jb0f+HKzuWLi/E74Ed3XOAo+CNl23KWbrh6SFXKO 0m6Q== 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=zieU4aM4UHYvi0JYuUbBbiWUT7ViqShCLhn53iNF/5o=; b=m7iOq3f13EnI3firqzJfNmzGvgBUm8yLjAY7F7jY2mdVWTte8EZLIiDG5OSCqXM9bO NpwjYwPo3xyj4I3JmXo04n9xeZQlXmYtTtb9DI1ddgc04nigvFFf1X6sKMykGC1L/dIp IKzmUhTijz/UinjsaSi5wShli5OFP2kfnVPduIzCCy2+p2Ws0lOcFMP/s1EKEeqbo+iy QboYTza66wR6bM4FdylBdF4/vZvLpYSOT2WTFInkWC+ZaLETVESOcwx8OpfyUJgfPSW5 BXkaCrrjwrvsfC2FHzZw91yBm1QflJADm2SuWvzv9zaQVLnj3qq++S0VeXkfW8VmxLeD zT7g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id q73si1510213wme.1.2019.11.05.08.19.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Nov 2019 08:19:29 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 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 lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id xA5GJS7F023195 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Nov 2019 17:19:28 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.0.32]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id xA5GJSLh019086; Tue, 5 Nov 2019 17:19:28 +0100 Date: Tue, 5 Nov 2019 17:19:28 +0100 From: Henning Schild To: Cedric Hombourger Cc: Subject: Re: [PATCH 0/7] linux-custom recipe rework Message-ID: <20191105171928.28ee9277@md1za8fc.ad001.siemens.net> In-Reply-To: <89e0574f-99c2-0155-0828-328f02c4cde8@mentor.com> References: <1572962145-318-1-git-send-email-Cedric_Hombourger@mentor.com> <20191105165547.620087b1@md1za8fc.ad001.siemens.net> <89e0574f-99c2-0155-0828-328f02c4cde8@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: slgPm1W578GY Am Tue, 5 Nov 2019 17:00:32 +0100 schrieb Cedric Hombourger : > On 11/5/2019 4:55 PM, Henning Schild wrote: > > Is that not v3? and what has changed since v2? > > this is the first time the reworked linux-custom recipe has been > submitted (definitely a v1) > > I have included other patches that got me there and were previously > submitted as mean to give you guys a single set to review but I can > go either way and keep the little tweaks I worked on before separate > and have this PR only contain the 2 patches that were added. I leave > it up to you.. whatever is easier for you guys. Ok, i just looked at the first few and was sure that i saw those before. Henning > > > > 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