From patchwork Tue Sep 20 15:57:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Roberto A. Foglietta" X-Patchwork-Id: 2130 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 20 Sep 2022 17:57:44 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qk1-f183.google.com (mail-qk1-f183.google.com [209.85.222.183]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 28KFvgac023072 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 20 Sep 2022 17:57:43 +0200 Received: by mail-qk1-f183.google.com with SMTP id h8-20020a05620a284800b006b5c98f09fbsf2267137qkp.21 for ; Tue, 20 Sep 2022 08:57:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663689457; cv=pass; d=google.com; s=arc-20160816; b=qKjj8C+dKmqZ824fFqINrhJfRGEbW8toDL6FmuAVHxG9rePG9UF2za8q62BIXzese2 9RK2k9NV4LWSuhEyhAMLv0AZj8wkNU1idaxuel/uiyySTXg8ugSl4zUbEF0X8A5AcbYc 1S0FQVo8E/lIlBz+XD7QuaAbS8zsM5xXce6YNoLJpf68priqdzkQZybrotAhCFZzc1Vz 9lgCUgN2jS3yNt0D2tmg6S2iB+YYFyWgJdTR2fvFoLhL6vTRiQWcbyiVCjS3oDsvSk+u G+LNWJH6qeYgCyLtH+DAe39Ln4Tir/PT/ZfmrTXAWiGD42q/0eSWWc2oV1WUpuIt2n9i x/Dg== 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:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=mdYV751oFES1zmuRzTeMbagI1UJOmWJYurbwArBZOoE=; b=H/ewOv6z7pJBgE1LTI4UtZ/HdAmxoGjj02B0xvnKSPZ2AbT9Z38+R5wc2L7WXr/TU8 4hJyKMve1AFy9mZDISbPhN8Y3iwAI/YHffTGaakkOdQlcYJn8cYJtdT62dRTd1B0fKd6 qwc+PvWMFbm5+CVm2LSoSDNkmnujrt/wfLWYPoJoiIeEfNcIi+50nEVb2STuI7sTST3z O/JznP4cTGNWQP7QWdgcRbQYGeEm1hhItV3Mq/6yeuq3+9Rguv3F2zJ4QAQzvQ9t18jB lIcUoFlE8/7F+DVUIvoswsdlqkckQoAaOui32hINZiyBHl4GXwH+tuA4j1LnvaCRusQ7 /AnA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=O3J3LRaC; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:to:subject:message-id:date:from:in-reply-to :references:mime-version:sender:from:to:cc:subject:date; bh=mdYV751oFES1zmuRzTeMbagI1UJOmWJYurbwArBZOoE=; b=U+qLOV3w5drkqou0lk/wTw/VafUHOEXIYHCr0gYUH5GlqP6Y7O6SF6pZ9ujZREO9SA TBKoLXWR+eOC0ef4Mqe3h1IshKnlZruyOdZuozf2AWnY54+ektLL3lRnNnXiw9rrIskK zI7pOgW8J9I901UG0qdr9pyhWK+EtLb5GhRQnBUBIBZFwErihtfLZCH2R/HzMicESE46 mx6W3PxRGb0jQDCjMUBFv/3bpdWOl4r9nVr5LwkXkj8AUuI7lWhPBGm1gERPzrONenJl CXwC0/dvPVwSs5BSNFECBhr4rEbkUbQhkB3nVgs+/hqs7EfmT8Fe+VCsWFCbcdwiKYHS mGcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date; bh=mdYV751oFES1zmuRzTeMbagI1UJOmWJYurbwArBZOoE=; b=E8iwoA+IQycD718QP7rPXK5/XeNap/UXXQQIOpN/A3BYB2J3Fh80N0P9lr/5WJuSud qJFv4hzGGoa4k0L2T1Yb3fyKJ/Bhpr8Avwh88TTJsWxUFz1GdrgedxAJGsDcrCt10wCp dUwLsFMvkwv7XjhAIsa60BC5GUbPeEHKuU5d8BgHVJdV8pgvX9++KXOpx781afnt3Tcu inmlbiBFeeQLnpoI38CC+tnlaXTpIyWoWgVk4B5Yt9mt4R5cl8UcYqUDtuUAscnZxijC hsdlB3Os3EF4WBwZKMMFtsWFJo/y5xduODMpgEnPckJrgYigVFWp2XoJ63LV9CHafsvo Fkqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date; bh=mdYV751oFES1zmuRzTeMbagI1UJOmWJYurbwArBZOoE=; b=kBuFZ078Gdoz/0ybXlaKJtvUpb0NuQuiQNRDEshXllFiXkysDkKHMN/zY9O6la8nqH r/sCYn0R7iHL9v4+d3clGyaDe8KCf76bF6P0FDOC6REFhnxAIx8qn+dCyTFBQHHLx8t7 W6aL9aO6OOYLmm09m3G0OiW1XZ4SiaRsigjtWujmxSKTm4VOD2pcXwdTdi76GPmN3qDb 8AvAPaYn/f+prhFub9qVFi/MlE+u6X5Xu+geh7IUFxmWO/UbnglpU+HBtrEDv09OPH5a IigiCQJ5w5KWhCSA3lS66bhtKA+PKuEw0rcQaRlHEJyIwNs3Dslz8wBTkJq1F7S7GLe/ kzXA== Sender: isar-users@googlegroups.com X-Gm-Message-State: ACrzQf09n11M0W5YbPmYvVGKGNmL5EkKOqQnSFtGtASaLJlZFidtbDfQ LsbrbcHXXOYSzZueTeC0lzQ= X-Google-Smtp-Source: AMsMyM6b9LTF2n/gnsLd3H+00eyiTmsChxrMHjxMB3ruCr7mUyUGbBry1Qrp3qhngLQORCtlRDWbtA== X-Received: by 2002:a05:620a:4887:b0:6ce:d35b:1b3 with SMTP id ea7-20020a05620a488700b006ced35b01b3mr14529155qkb.702.1663689456982; Tue, 20 Sep 2022 08:57:36 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:5418:0:b0:35c:b851:7fb4 with SMTP id b24-20020ac85418000000b0035cb8517fb4ls5805095qtq.11.-pod-prod-gmail; Tue, 20 Sep 2022 08:57:36 -0700 (PDT) X-Received: by 2002:a05:622a:13d3:b0:35a:6c40:da6d with SMTP id p19-20020a05622a13d300b0035a6c40da6dmr19361532qtk.253.1663689456371; Tue, 20 Sep 2022 08:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663689456; cv=none; d=google.com; s=arc-20160816; b=Yni7z8b0LximMpeIg4wfKRxDIrCrJ2Oq4S0snBNGxs2bhbwgJVmQbhHxpG7rP7KH7M uCzwawwf9t8VoBB4aiEcnVP3z88F9ttvIYdzjUKkJUkmdHTtdEMtbuWIZajLKKHK+W2e gevPa3COPI2NIFv8wYKK2uhPRifh9AZLggZ+C17g0TnS56sm25+zODl2uv2J2dCnOfMY 4/WsWEOIWrY95+UlFh3j6ffDA+e1GI4xB1zeVJoU+fWQ7BjvbVXt9aB5Pm2HOXg9jrgN WJl7uxJjUioabjYMtNvXjinvsGc5VmL7oU1+qDEEV2Ly0tzK62Mot4R3gb2H10+hKXd7 +AIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IWRmtG8h6wOay6HpE7UVebQ6nqnNaznGXY09f0P90ic=; b=au+2Th3gk/Pqa4HYoEw1eUBVz4bNXtjisqKgi/rTp0GzKNROiD6gVzApCJ2aSATa8Y zCQvFlpQ7ZbjjEFPOwWTtfP6sAdPHKNnIj7lxVYL2s41+wtvQxhbhcSCXMZNhjy6hEzq OlMN3bi1lcMDmKDCSQdnzb2mZfnohJQOi3jOUMIaBePJ9cXKCH7FFQZyocBG9hwrhDeh r+4DyDXO0pYmxMKbQIdNLQZacqcEP8XUNHzd3Hd1bKLGjHh7eM+RSpm5OIudgxjwbV72 GZ2lbv1lGPTztjubOUSHzx8H1Gcu9zmugwD30Mxi+dv8pKU+7EFmwdzb4xdBuwMKs+/6 NA1Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=O3J3LRaC; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com. [2607:f8b0:4864:20::12d]) by gmr-mx.google.com with ESMTPS id z15-20020ac87caf000000b0035baff34f83si3423qtv.3.2022.09.20.08.57.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 08:57:36 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) client-ip=2607:f8b0:4864:20::12d; Received: by mail-il1-x12d.google.com with SMTP id g6so1606553ild.6 for ; Tue, 20 Sep 2022 08:57:36 -0700 (PDT) X-Received: by 2002:a92:cdae:0:b0:2f5:8aea:654d with SMTP id g14-20020a92cdae000000b002f58aea654dmr5477580ild.135.1663689455569; Tue, 20 Sep 2022 08:57:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Roberto A. Foglietta" Date: Tue, 20 Sep 2022 17:57:24 +0200 Message-ID: Subject: use btrfs instead of ext4 with wic image To: isar-users@googlegroups.com X-Original-Sender: roberto.foglietta@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=O3J3LRaC; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Dear all, I am trying to use the btrfs instead of exta into wic image as root partition. Just changing the fs type in the wic/image.wkd does not work because it complains that btrfs native tools are missing. The variable DEPENDS in the image recipe does not help even if added. Did someone where used btrfs with wic image? Thanks, R. ERROR: eval-image-1.0-r0 do_image_wic: ExecutionError('/work/build/tmp/work/debian-bullseye-amd64/eval-image-ipc847e/1.0-r0/temp/run.do_image_wic.1603', 1, None, None) ERROR: Logfile of failure stored in: /work/build/tmp/work/debian-bullseye-amd64/eval-image-ipc847e/1.0-r0/temp/log.do_image_wic.1603 Log data follows: | DEBUG: Executing python function set_image_size | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_wic | INFO: Creating image(s)... | | ERROR: A native program mkfs.btrfs required to build the image was not found (see details above). | | Please make sure wic-tools have btrfs-tools-native in its DEPENDS, build it with 'bitbake wic-tools' and try again. | | | WARNING: exit code 1 from a shell command. | ERROR: ExecutionError('/work/build/tmp/work/debian-bullseye-amd64/eval-image-ipc847e/1.0-r0/temp/run.do_image_wic.1603', 1, None, None) ERROR: Task (/work/build/../../repo/recipes-core/images/eval-image.bb:do_image_wic) failed with exit code '1' NOTE: Tasks Summary: Attempted 92 tasks of which 63 didn't need to be rerun and 1 failed. Summary: 1 task failed: /work/build/../../repo/recipes-core/images/eval-image.bb:do_image_wic Summary: There were 4 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. 2022-09-20 15:33:53 - ERROR - Command returned non-zero exit status 1 ipc847e@nvidia:~/isar-ipc-847-e$ cat build/tmp/ipc847e/imgdata/wic-tools.env RECIPE_SYSROOT_NATIVE="/" STAGING_DATADIR="/usr/lib/" STAGING_LIBDIR="/usr/lib/" DEPENDS="btrfs-tools-native" To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/CAJGKYO5%2BxtMLnZKxhZ9oQacBFZUuaG85%3D-Acb-S%2B7UewhU1gMw%40mail.gmail.com. diff --git a/meta/classes/imagetypes_wic.bbclass b/meta/classes/imagetypes_wic.bbclass index 61a74d4..ec9fcbd 100644 --- a/meta/classes/imagetypes_wic.bbclass +++ b/meta/classes/imagetypes_wic.bbclass @@ -127,7 +127,7 @@ python do_rootfs_wicenv () { with open(os.path.join(outdir, "wic-tools.env"), 'w') as envf: for var in ('RECIPE_SYSROOT_NATIVE', 'STAGING_DATADIR', 'STAGING_LIBDIR'): envf.write('{}="{}"\n'.format(var, d.getVar(var, True).strip())) - + envf.write('DEPENDS="btrfs-tools-native"\n') } addtask do_rootfs_wicenv after do_rootfs before do_image_wic diff --git a/wic/ipc847e.wks b/wic/ipc847e.wks index c1ae667..216cc06 100644 --- a/wic/ipc847e.wks +++ b/wic/ipc847e.wks @@ -10,7 +10,7 @@ part --source bootimg-efi-isar --sourceparams "loader=grub-efi" --label efi --part-type EF00 --align 1024 -part / --source rootfs --fstype ext4 --label platform --align 1024 --use-uuid +part / --source rootfs --fstype btrfs --label platform --align 1024 --use-uuid -- You received this message because you are subscribed to the Google Groups "isar-users" group.