From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6874889650574458880 X-Received: by 2002:a2e:3a04:: with SMTP id h4mr10863626lja.156.1610964528355; Mon, 18 Jan 2021 02:08:48 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:c1cd:: with SMTP id r196ls2434506lff.1.gmail; Mon, 18 Jan 2021 02:08:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxGtH73S1AjNQtG+9Bkp4/+GxoiMO/G9wgW+h7d7KCJIBH8lkFwBGRK43OwPn9S3St1V44 X-Received: by 2002:ac2:44da:: with SMTP id d26mr10190166lfm.221.1610964527351; Mon, 18 Jan 2021 02:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610964527; cv=none; d=google.com; s=arc-20160816; b=R+6nWjRZb8QHvom093fNtSeSwwRmXuxjnY2+w95+DSycOHY9JKn3PsB+4Uh3UoFMKJ fbA1zc3Gn2S36f+IFFxoBT4LuGn24N/mZotedObmCbKR2sS111p4Ygbhlw+sI79Qeepl SUvLrSfxWb6ikErq/2k4/l1XrWHGXCiq2zoIm82PFT6YzjY5B4frddRZiKJP2pa9+Djx 1m16m5bn79SrsUQZAaLu5v2I8ZyDcKmAlNHmtw+SXEKC6rLa07a67IROFjCJxQTpkaqo fN0LY5y+buzKRggzMU6D5PVvq44PW9ELNt8fZcT2fhT7C7Ukgu+dDeMgKVWLDeTFv3pq JDFQ== 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=LvtK9yQd1UPluNo7MPGxc/bi46j/VwgHVQ3VJnb5Gvo=; b=iopC4w6Eq+plLKSi28dOVhSOrryPnM0W7AXyHXkSK1TVW+8n21nTgO640YIW4pb/iK LJQFatC3Oatqi6e1pxJv0yeaedYU37u2LlNbMGupg4GKIO1kyHBR6Jw3asfI8YW3K554 NAKfMluz7Vop8JhoZCMMsZfy3Y6KWrbxeuHvsSuCnzNuTuOBj0QPl/1yePnausLqRaXc KA3zTOPzkuMmaK3J4Nr2qApi1zOfmbinv9GD204X3pC/DCiWpX1Urs4+FwAp99sCfkPK yLmJNtTVUdhzI+MB/iXZKohE3YL/2wcdhP2Oi9ysqV8W1h0eo6HtwKlqFaDGDK5dgfwA chPw== 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 u25si697303lfd.11.2021.01.18.02.08.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jan 2021 02:08:47 -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 4DK6v25pBhz1qs43; Mon, 18 Jan 2021 11:08:46 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DK6v25VlQz1tSQZ; Mon, 18 Jan 2021 11:08:46 +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 H-bRwaaZ7ki3; Mon, 18 Jan 2021 11:08:45 +0100 (CET) X-Auth-Info: Td0RRJQPPftOKfM+VY2yzIRC8nOWSTmIhfLBVIgnNr8= 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; Mon, 18 Jan 2021 11:08:45 +0100 (CET) From: Harald Seiler To: isar-users@googlegroups.com Cc: Harald Seiler , Jan Kiszka , "florian . bezdeka @ siemens . com" Subject: [PATCH v4 3/3] Add custom isar-initramfs example Date: Mon, 18 Jan 2021 11:07:29 +0100 Message-Id: <20210118100729.138523-3-hws@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210118100729.138523-1-hws@denx.de> References: <20210118100729.138523-1-hws@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: SycNEC6bIC5w 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. Changes in v4: - None .../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