From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6874889650574458880 X-Received: by 2002:a2e:3c04:: with SMTP id j4mr203751lja.397.1600878114681; 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-Google-Smtp-Source: ABdhPJxhoJvDef+IuNXTcqaaCnfIpsGwPtPT1sxPrCre1PFvVczgpaNjOXjtKCXjHx+jLDY9j0SL 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 Return-Path: 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; 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 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 Content-Transfer-Encoding: 8bit X-TUID: 3+jvVt8BlSG6 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 \ + " -- 2.26.2