From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7145491809353859072 X-Received: by 2002:a1f:c745:0:b0:3a2:c8f6:e97c with SMTP id x66-20020a1fc745000000b003a2c8f6e97cmr9550630vkf.27.1663733509455; Tue, 20 Sep 2022 21:11:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a67:cc13:0:b0:390:7ede:5884 with SMTP id q19-20020a67cc13000000b003907ede5884ls1887635vsl.2.-pod-prod-gmail; Tue, 20 Sep 2022 21:11:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6vp8AbZvlJE8phfegimYp5i4MVD1s5pbxbZUJfAkCuowRYke7r6SSNnztOatmCNA+G9+sr X-Received: by 2002:a05:6102:2224:b0:390:5a5e:59a2 with SMTP id d4-20020a056102222400b003905a5e59a2mr9289023vsb.59.1663733508568; Tue, 20 Sep 2022 21:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663733508; cv=none; d=google.com; s=arc-20160816; b=IlY6hRP1NuAZR+48JT94GI6Sxbn7aqFbd7HKKClmxb1PuThqJuRwtApKdn55up9pCx FK962GR2mnVEQSqauHTDE6e3sMGTMLq9nQ7GoMdcTHluf/52sdiHOyEftFbFymg2cOsO sIAEAve6P97EPjALvCQCByGxa8rkLMHzqeDA47FMedw65us4pWNhlJl3pq1jK4liBJZz O9CFUBIs/DhuTc9IIKcUtcNQ1+dLvdlSjR8l7zuLSYMgniuTSDI1pV1yI95h363Q/qRM JpTuZAsDmBmKrRTSWUvI5/yMo5xCYHxwrFHY9Qs1EACjubs8TbL9jMemdoL55pOk9Mnv KFKg== 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=6oMLG63hlHSyW1rk+QABKhK8AunGhYG0mWum5CoEUdM=; b=YrSTPlGxNElh5ghMEsWQiN/VDAOS1FeV4vKwcWBUY53NnXqzM3AheViq6OB0b7gfVe 9xdfiuzE1Twx73cl920zvEHRBACjJTXJnMbKKCFyL4kA5pG7tiA3pFlppGcifYa/pWab x5+SV46SSAVC4h4EtY4HCirRzeWcr1A37zIuK+9y9u0U1/+YKiNnBnFrkHSR+Obic0Ln CDa3C/FRvpy3ILpLKuj6D5PwGZWLnmMeAYyOPxDALRwvvjRru1jVE2p3q21fo3nFXt0g O5oCpgXOpDXKOaul6rbhKotKVY8oMXfaTe6MdjeWwKFogL2ES9l0MBKbg824Dbd51viz 1uhg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Yi0lVL+q; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com. [2607:f8b0:4864:20::d35]) by gmr-mx.google.com with ESMTPS id h16-20020a67ec90000000b003882da6dea8si76221vsp.0.2022.09.20.21.11.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 21:11:48 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) client-ip=2607:f8b0:4864:20::d35; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Yi0lVL+q; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-io1-xd35.google.com with SMTP id d8so4061483iof.11 for ; Tue, 20 Sep 2022 21:11:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=6oMLG63hlHSyW1rk+QABKhK8AunGhYG0mWum5CoEUdM=; b=Yi0lVL+qa2cIhe8p1sno12BtTGu9jnjfm4HUxcUPkRLldxPXhKrWfpPlSMVUhFHcur IDAanqcQ2IDdFkSUPAhDfaNQMf7qxBT4DjbduFxw/l9N89JR+T5NvJHgl25TkfJWvEOB hcDqcWqHYFPUubL1IjnP2xlhauMV9327mrllTZvQGvAV0tPewWvtLE8pU2KyUesEeM4J qX0Je2fNHRjUQ3YZbljZz6gxZScqXAZf+H86OVpCcpJazPqG/VKFRm6pPaJgKcl7Kja5 MPcB+ZWr66jorzF552vTrontuTXZB7WOSP58P+bZNsuVV10j8ryjRLOhz84Zvy5bnqpa LhdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=6oMLG63hlHSyW1rk+QABKhK8AunGhYG0mWum5CoEUdM=; b=LYodA7js3VIdqEbHIAruk8SAmgWFfaL18GCNmChKw9DzsUQUwt2q5ZwRG3TIvKFm2L 8b56fQsnAdxW1YL/k37xtlD7MyfvT3q1uJ8ImqOEHYEzpfMiLHxtfZtxqoqPDB+Ht4KR mTrFrieT52lXURzRPM38ifgcujDZveClhuRTgdQiJ1jPKV/Vobjc4yipSuq19f9Ja1RZ khMLHDcaX8GLXpzvImnAFq/DoXZKh/kVaCVf4AK9eecQm64XzjFWjcc4za9GMxxP0qsg Fhyv0UuyfhdsyP+Zi+67zaOobADs/fB9zVuHGoi2/gB6OsetiIUU9J7s7CZdFb7Uy/oG of1A== X-Gm-Message-State: ACrzQf2gPsVJ0vw61gvVkDD9WCinjVT/7/AAC7fsuKtYamWFXjgshgtO RQmJ11LSYxAhKX1B/j1eEk5tAsvOolZaFuF3qmkmxCZgo/V4 X-Received: by 2002:a05:6638:1924:b0:35a:411a:b058 with SMTP id p36-20020a056638192400b0035a411ab058mr12730325jal.296.1663733507730; Tue, 20 Sep 2022 21:11:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Roberto A. Foglietta" Date: Wed, 21 Sep 2022 06:11:11 +0200 Message-ID: Subject: Re: use btrfs instead of ext4 with wic image To: isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000bab36305e9282455" X-TUID: BWQahgmbQsOJ --000000000000bab36305e9282455 Content-Type: text/plain; charset="UTF-8" Il giorno mar 20 set 2022 alle ore 17:57 Roberto A. Foglietta < roberto.foglietta@gmail.com> ha scritto: > 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. > This answer the question: add the tools into the wic imager, clean and rebuild diff --git a/recipes-core/images/eval-image-templte.bb b/recipes-core/images/eval-image-templte.bb index 380f9f9..30f689e 100644 --- a/recipes-core/images/eval-image-templte.bb +++ b/recipes-core/images/eval-image-templte.bb @@ -18,3 +18,5 @@ IMAGE_INSTALL += " customizations" IMAGE_INSTALL += " sshd-regen-keys" IMAGE_INSTALL += " expand-on-first-boot" IMAGE_INSTALL += " simatic-lsp-modules-${KERNEL_NAME}" + +WIC_IMAGER_INSTALL += "btrfs-progs" Ciao, R- --000000000000bab36305e9282455 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Il giorno mar 20 set 2022 alle ore 17= :57 Roberto A. Foglietta <roberto.foglietta@gmail.com> ha scritto:
Dear all,

=C2=A0I am trying to use the bt= rfs 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 nat= ive tools are missing. The variable DEPENDS in the image recipe does not he= lp even if added. Did someone where used btrfs with wic image? Thanks, R.

This answer the question: = add the tools into the wic imager, clean and rebuild=C2=A0

diff --git a/recipes-core/images/eval-image-templte.bb b/recipes-core/images/eval-image-templte.bb
index 380f9f9..30f689e 1= 00644
--- a/recipes-core/images/eval-image-templte.bb
+++ b/recipes-core/images/eval-image-templte.bb
@@ -18,3 +18,5 @@ IMAGE_= INSTALL +=3D " customizations"
=C2=A0IMAGE_INSTALL +=3D "= sshd-regen-keys"
=C2=A0IMAGE_INSTALL +=3D " expand-on-first-b= oot"
=C2=A0IMAGE_INSTALL +=3D " simatic-lsp-modules-${KERNEL_N= AME}"
+
+WIC_IMAGER_INSTALL +=3D "btrfs-progs"

Ciao, R-
--000000000000bab36305e9282455--