From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6874889650574458880 X-Received: by 2002:ac2:482c:: with SMTP id 12mr3076931lft.37.1610619141425; Thu, 14 Jan 2021 02:12:21 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:6145:: with SMTP id m5ls761611lfk.2.gmail; Thu, 14 Jan 2021 02:12:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRQeTrSJCJYw1+yHXEo0H5b37/1UCOlsl/uikAi6PLeZTfVPuJtn3/zAU8arcPKZ3J5Xvq X-Received: by 2002:a05:6512:3e6:: with SMTP id n6mr2864731lfq.262.1610619140321; Thu, 14 Jan 2021 02:12:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610619140; cv=none; d=google.com; s=arc-20160816; b=eobHpwAPXKLZYunKj6Lp9lmpsdle/h0fPuI1CN0o6D4uKRprUf4BHdXY1M7CcPY5m2 Xg1F4Tf/GtUi/BOe+bxGpwvFHJmkbfpDbxNuZagSssqKpVHvAiCj3gWulzilvl3VWlSx EPBc41bEf+9RpuGzqIlS4idXRI0TBiAo+lntMwsaF4vjM0S5Tm5QZn/i4xEkjqI6Thuv C7LWuT66s8RhQHsCL3Yfu/3K66cMCDhDEpkHYFwdX9u5P2InOSTzdABSgnhHGWu+/h0N G07qL87Fy1XF6fdeXjwVrdUC9TTKN8/0xjVsDZ7AywzDQWo4HUaGMPxdEFNgKX+0ggCD N2iQ== 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=2fNbuz6Q2xsdI/g/6S0ppfbAFT2EwfuCmb667GHBhnU=; b=RwLjgMNCVqNt6LqGqKrbOkAwhLXNg1/dii4HysLaW3T/LY+Qf4dKfC7F6Bs8UXCX7x fxptLSPBDZA4Iv21QXTU4RyLzYpTaiz14QxFwZM6CzlPGwOTaVA5GSjUcrZNPKs7AA9c FZCk4/3WyQlizucsMefMRwOgODmz71aWGbU90ckAEW11+PwBWnr8BY1PLAFf41RACt4T /60cWl4ypIO5JFL4sLd3Mwjj5u4Piap8My9ASMdtjXfLw99caAodpGEafjj9M7VRW/GU VRTfwnZQx+3OsEXsw6RQ/8kJ+ck9AK16jCH1/ijhrB1wh14PmFMPcSKhdQPCGCigFxJk BhlA== 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 l8si178195ljc.2.2021.01.14.02.12.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2021 02:12:20 -0800 (PST) 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 4DGg8z65NPz1qs40; Thu, 14 Jan 2021 11:12:19 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DGg8z5shGz1tSQP; Thu, 14 Jan 2021 11:12:19 +0100 (CET) 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 pJ8WXicj_KF0; Thu, 14 Jan 2021 11:12:19 +0100 (CET) X-Auth-Info: s2nIQBBM4cyrsNn9PRlWQjukxmpai8r7Tq9lh5tpn6A= 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; Thu, 14 Jan 2021 11:12:19 +0100 (CET) From: Harald Seiler To: isar-users@googlegroups.com Cc: Harald Seiler , Jan Kiszka Subject: [PATCH v3 3/3] Add custom isar-initramfs example Date: Thu, 14 Jan 2021 11:11:56 +0100 Message-Id: <20210114101156.243184-3-hws@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210114101156.243184-1-hws@denx.de> References: <20210114101156.243184-1-hws@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: BInzzR50Z7Gk isar-initramfs is a custom initramfs which additionally has the initramfs-example module installed. It is also built as part of the CI. Signed-off-by: Harald Seiler --- Notes: Changes in v3: - Add this target to ci_build.sh for CI inclusion. .../recipes-initramfs/images/isar-initramfs.bb | 18 ++++++++++++++++++ scripts/ci_build.sh | 1 + 2 files changed, 19 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 \ + " diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh index f4c33a37247e..f6fc5e54f7d3 100755 --- a/scripts/ci_build.sh +++ b/scripts/ci_build.sh @@ -28,6 +28,7 @@ TARGETS_SET="\ mc:qemuamd64-stretch:isar-image-base \ mc:qemuamd64-buster:isar-image-base \ mc:qemuamd64-buster-tgz:isar-image-base \ + mc:qemuamd64-buster:isar-initramfs \ mc:qemumipsel-stretch:isar-image-base \ mc:qemumipsel-buster:isar-image-base \ mc:nand-ubi-demo-buster:isar-image-ubi \ -- 2.29.2