From patchwork Wed Sep 23 08:20:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Seiler X-Patchwork-Id: 81 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a4a:eb04:0:0:0:0:0 with SMTP id f4csp601341ooj; Wed, 23 Sep 2020 09:21:55 -0700 (PDT) X-Received: by 2002:a2e:8693:: with SMTP id l19mr221391lji.25.1600878114978; Wed, 23 Sep 2020 09:21:54 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1600878114; cv=pass; d=google.com; s=arc-20160816; b=h8N619ZGr3DI7N+r0E6fyHsDH2Xkk4qFrS5Rc6Ms4pVZvE7VFAbbZM9BFyKt4B3is/ 0bJJp4ZERI5cH4KW5+QaErYEqY1wbtZXH3/NlCLBTd185Y90oifeBGXsfChu3N5vsrE6 JrwzQBKEKDX6RY7g3h9hCR16hacr1lRT2rob3eDPwduOTHsqvrxxxFZHHOX71cdbZ55i hax9hSim9sA54C5LYHUoIyUGBLIZbGRM3gvzHpZaqSr/Rc8ghlhC3483FWvWTGGrA3RQ 82IiB/6f6mWOVbqSeqk5jWnHvzxm+VBjA6SwEOCjhb91mzZnfib/WfvFSEmnwllKAggV rQ8g== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=+cE4R6PlzOizESwJ0Pq/9F0Cj/2Fmhg3eHoH9hMNwME=; b=hos+eaDsRCk2ve/RTEj4UZfCIQsL7P2zoFuJ8r+nPeqxf3mLI3k7eZ6Ef7TpdEl2IJ COdFUxIdahdg7wpEcrhu15CPHVaKaNqWiKVckPxgWZedor1A3sXeisoFvkQtrC1rMMsW 7sRPNuCpra1r07LMLZU7MltAx6jDCPU/8mqlthK4dLis4Rsr0sDN4UXl+SbxW6vKcBCN Qes8zKVwl2jraCXJvfErPaK0nIaHMLAPYTwKPIQpeUP27LTrwLiwQbfl2rYglpSlFueE yvT9qOYPfntWXbK/2eK1rYNvooj+5kYcxlKImrB9y5XaFxFh496JL5q8QnXs2/7tmMad LIVA== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=Q1JU1YfT; arc=pass (i=2); spf=pass (google.com: domain of isar-users+bncbczlpqw3rykrbixmvx5qkgqebg7i5oi@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCZLPQW3RYKRBIXMVX5QKGQEBG7I5OI@googlegroups.com Received: from mail-sor-f55.google.com (mail-sor-f55.google.com. [209.85.220.55]) by mx.google.com with SMTPS id v9sor6348134ljk.77.2020.09.23.09.21.54 (Google Transport Security); Wed, 23 Sep 2020 09:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of isar-users+bncbczlpqw3rykrbixmvx5qkgqebg7i5oi@googlegroups.com designates 209.85.220.55 as permitted sender) client-ip=209.85.220.55; Authentication-Results: mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=Q1JU1YfT; arc=pass (i=2); spf=pass (google.com: domain of isar-users+bncbczlpqw3rykrbixmvx5qkgqebg7i5oi@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCZLPQW3RYKRBIXMVX5QKGQEBG7I5OI@googlegroups.com ARC-Seal: i=2; a=rsa-sha256; t=1600878114; cv=pass; d=google.com; s=arc-20160816; b=Xik2zr0iT8zpXhkEmFy3cJit5HMTAaUz5YKPNRXPoSBRXoEFsPli5ioU3ip9VnUlId cqRs1mw0rAbvceZt0tDHU0LKeDVLNd3RYnwubAZJWVXUrrdzVJhXDcrdFRH8zhTADd9Z VXZC8bwvPM1sC8o3yiG4b5Skmsz3RpskbNdEg5fSt8ul17fxdzwLAblI+PVmzSYjDfKR gYhOS1/PpuxiiMWPl/zDDqQtzC9rJv3cCxNpmVX7uXkb3wb+GQq+uVL/fShNrgsm4ZjE yXe3Dan4eItQarsXHYaTXpGeZrKAUNy3MT5mXSAcUmuQP/GDKMBewjCxjrltgpGmKcys rIeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=+cE4R6PlzOizESwJ0Pq/9F0Cj/2Fmhg3eHoH9hMNwME=; b=T9HeQt/Zue36ShCKoNtczbXPA1xu0FAyAZVYZHxsOoIMBOfhcrg2laaAJgSL8T5MHS JNUHhGxY6K2TldAxsi2DjpliSzJ7MH6HCFslvIj+v+AI7G3a+GEjfij9pUsqmovBch2Q 0DjqHuFbsjQvTZK04tlc/iJqqrpQC0Axn7wroUqQk28SWtJCtJe0tPxeXmWCcQ8XVgRX zPTUw6xdQdOeue/uWNECO2zlRa/EIyZrZf17yPIVc6wg4kkvwVsEknBOcQdtZEHm3x90 /LRBVLE9I0EQGc3eXd177NGR4f034PH0X8SctNLR60n0e0pSK6UpvO0AcuwazVarkvEv EIrw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=+cE4R6PlzOizESwJ0Pq/9F0Cj/2Fmhg3eHoH9hMNwME=; b=Q1JU1YfTH7M7sjXluPTnftYNUtPHQ7EP4trq2YU0YdNJDbvHwF/yF43caWlj7eE6RR t/ySbp4p/3gnKLioB0Kdryf1r/Vx8johZhbUA0Al/uwN7syDYht3LY0i3Tc2Y8q/TbYI EKFkDQxAym+8VWfYaW1C/ZiKFwhGxnS3L9PasUgwBzH1skwEnUbJUbTlJuBeq8aNTNbA Kjg0YQ6jluPnSkSmjs5Sf13v57fLNefsU3Cwgs7skD4c4G8tDk/geyUy3x5hFxu6Eh25 Nz2ZT56wstdUIr23citt0UQXAsc3eh740ogsLk4PqdjOXZbFKotyTC9qX5AIuB4Aw1f0 J+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=+cE4R6PlzOizESwJ0Pq/9F0Cj/2Fmhg3eHoH9hMNwME=; b=Ay+uTmF5sUG3yCa/79gaV4mEEzwK8D2jTbsCijR8Sa7AUjhEuHBSp+kac4G06cao08 FHpHxpraescNF9kAoRMyLMVw0QAY0X0K1ZfhyjAy+s2gRaJtpABxkXZdBpJRBypz9Z1Q QBto2+n7waw8suBCK/Akve/IFTU4qwdgltx3cCrgyxzfbHrWEA3QfTcxEidhPgJgwxon gj3gQIoh3ME2/fC2PWR+ST3rShjPqtOFZMxvbHVkCzdZwsl6tgwgCsGqI4oADQhGjij2 g0SotDkrbFFbwz4nFXatvEQYpaidTXH3shie2PXtICQyGzd1uS7DfkWVoJMFvVIqUXNv rtHQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533sAAILWFjO21MqhXl0eaYKNIZHMuwcyFNMEGL2Gp7hroADzqnS xSoBqwg0H/NGIl5hQGVXEiM= X-Google-Smtp-Source: ABdhPJzIll9AucAFe7MTi6tlQhwxEt0A2g06z7kyhNeFokrvC/BPvCtydiCS4w3RRvmmxCVz1yOGUw== X-Received: by 2002:a2e:8884:: with SMTP id k4mr209428lji.333.1600878114510; Wed, 23 Sep 2020 09:21:54 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:7e02:: with SMTP id z2ls50956ljc.2.gmail; Wed, 23 Sep 2020 09:21:53 -0700 (PDT) X-Received: by 2002:a2e:a41b:: with SMTP id p27mr219922ljn.75.1600878113307; Wed, 23 Sep 2020 09:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600878113; cv=none; d=google.com; s=arc-20160816; b=TMzpUjnCq074fmNLRGWuSfaGlzZckJCl/I2I+YS7VDyT/GgokbN3/gFVpC6uPeYiP6 90XiiRzLFfLEAKWZ1IqRtBY1hprpc4KFuQzNhiBYI2rruJMgB6Ug5s5qN5twinoMg5le IDZjCGSnRAhp+AmrG4frWJdMs6qR2SwZv3U/6rfEGG5oXSqwcVx9eHt2RNwlpiVg87j9 QAsrN3Ph5jaS07S9zQf+S6pkfFx91dXGovpGihguSlbfxwUSZeM39NExJ++Y8ViT6nhH LJWUx0AOd/8hkP8YEIoTAHPXBODgzSrsgKX23ZToTLgIHWh9E0TIkGAtLittjCn7RqNQ D/xQ== 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:date:subject:cc:to:from; bh=55NOqns2rjZ8bCHXs0IIv9E6AspsenUNaVEdzXelf98=; b=h3/Z85KROX+nCGWlKvdRlKOmKyeW3P+64S/k/oAqqVUAzI6ftvuqqKFg39V28yuVwn J5hDyooW/Lc8EJrDjbyeTDgyN9FuPtL7qHjSBhOot6hv5eu7tP7bGF168BE5/jwVdeHr hrK80tVK0gsi1nehrslf0NpU9sqV6g/gk2PBCcfLIHntQ7Y10RL5phZ7gnDEObzZLb43 FbfO3zQYt1a9nXjmwF3dCRiaGIiPIay2hlJV7DydHan6xJpaQYO51hi6HYcs7L5xLkzw kgI3JEhQqoVympBYZ6Qev2C1NQZ9tbj/ucoZcuWjemZIYzE23HSupBrZlcQf7QmhPyEy RExw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id r16si494883ljg.1.2020.09.23.09.21.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2020 09:21:53 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4BxNjX5rhbz1qs3s; Wed, 23 Sep 2020 18:21:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4BxNjX5jLkz1qwT6; Wed, 23 Sep 2020 18:21:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 5rQ451IkSP2c; Wed, 23 Sep 2020 18:21:52 +0200 (CEST) X-Auth-Info: EFd46gSjbgvXeZTY1gznUr4ZAOVmi7l/itKSNE05j98= Received: from maia.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 23 Sep 2020 18:21:51 +0200 (CEST) From: Harald Seiler To: isar-users@googlegroups.com Cc: Harald Seiler Subject: [PATCH v2 3/3] Add custom isar-initramfs example Date: Wed, 23 Sep 2020 18:20:46 +0200 Message-Id: <20200923162046.206888-3-hws@denx.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200921104212.1387227-1-hws@denx.de> References: <20200921104212.1387227-1-hws@denx.de> MIME-Version: 1.0 X-Original-Sender: hws@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1678642370253287442?= X-GMAIL-MSGID: =?utf-8?q?1678642370253287442?= isar-initramfs is a custom initramfs which additionally has the initramfs-example module installed. Signed-off-by: Harald Seiler --- Notes: Maybe this initramfs should be tested in CI somewhere? I'm unsure what makes sense, and how to "force" this custom initramfs into a CI target. .../recipes-initramfs/images/isar-initramfs.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-isar/recipes-initramfs/images/isar-initramfs.bb diff --git a/meta-isar/recipes-initramfs/images/isar-initramfs.bb b/meta-isar/recipes-initramfs/images/isar-initramfs.bb new file mode 100644 index 000000000000..aaa0350aab20 --- /dev/null +++ b/meta-isar/recipes-initramfs/images/isar-initramfs.bb @@ -0,0 +1,18 @@ +# Example of a custom initramfs image recipe. The image will be deployed to +# +# build/tmp/deploy/images/${MACHINE}/isar-initramfs-${DISTRO}-${MACHINE}.initrd.img +# +# This software is a part of ISAR. + +inherit initramfs + +# Debian packages that should be installed into the system for building the +# initramfs. E.g. the cryptsetup package which contains initramfs scripts for +# decrypting a root filesystem. +INITRAMFS_PREINSTALL += " \ + " + +# Recipes that should be installed into the initramfs build rootfs. +INITRAMFS_INSTALL += " \ + initramfs-example \ + "