From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7149075357454303232 X-Received: by 2002:a05:622a:178e:b0:35c:238b:30b1 with SMTP id s14-20020a05622a178e00b0035c238b30b1mr10696232qtk.295.1664634985119; Sat, 01 Oct 2022 07:36:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a0c:e50f:0:b0:4ad:3c6e:9c05 with SMTP id l15-20020a0ce50f000000b004ad3c6e9c05ls2394399qvm.11.-pod-prod-gmail; Sat, 01 Oct 2022 07:36:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4MOptaEZiuN0ZyPCFjluYYZeQDLVREI9jT2qzFFGAqatF+M+AsYvJGRmGupzuRnfC1oSUI X-Received: by 2002:a0c:8dca:0:b0:4ad:6e03:c906 with SMTP id u10-20020a0c8dca000000b004ad6e03c906mr10927658qvb.74.1664634984562; Sat, 01 Oct 2022 07:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664634984; cv=none; d=google.com; s=arc-20160816; b=go1kmyL7mAKSBjVGvyMZNsuMOqiUVQ1R9T5x6QbBfSCJ6erpW3w+5zx24g+dLUjGwB 6ZCnvt4Bb61Hid0YzQU/vSt3MV8NlPFJC5u4A6vIygLryZYmE6smm0X/0Q9FbCawsfJd 0bA9uefzoHVO386Tt5bggmkLQwYGGwvpSgdyY8h/BSYBmJjGs/cJ7E8PaFhdTISUhGR4 ZWpc6tX6TveGoAEjmVjphSxyW53npPeKHopfTtMivDI160xfFJb1ptVuPlziwugC5980 FLcxGCxypk5FSC0Z6f3nisWbM9et7yIWb+FTGx7N6/dyfBvhcEr/v5DJDzUZUR07t1oW tHoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Kd4chqgK1KQ+MpTq30mfGE4GQMCMS4otAtcgGC2Hrlg=; b=Hyc4/RgICSOXmsnGz9Lc4sCPIyONsAYa1gXeqknAmlXDx7335pp9A8WuEejLuKNl1G rDCwh6uabEOtdulSIBDidYaz578LlSrblaTRgI6P/YsJ7OT095bzjMqytD/ci9xbtIaE 64HzAKl+2914CTQ29lnTfhCN7otYJgJgWCqtfdzbbQlJlwFT+Qq01J2eVKnSDPDdJ/cI 62JLyFygFC0wbf0bBd3N0/Ws4q4i9RwDJ/nBiDEYFoor99+SeXY6P2xGXI27R1LQlwiC H6dphkekOYtHVm3Ppnow/o048Tir/vUmZ+ZatvSh1xDB3ZLuk0ixHmdHw9w/LyQfNLaT 2GMQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F8izA6f7; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12a 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-il1-x12a.google.com (mail-il1-x12a.google.com. [2607:f8b0:4864:20::12a]) by gmr-mx.google.com with ESMTPS id o2-20020a05620a228200b006b95a1880d8si328005qkh.7.2022.10.01.07.36.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 07:36:24 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12a as permitted sender) client-ip=2607:f8b0:4864:20::12a; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F8izA6f7; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::12a as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-il1-x12a.google.com with SMTP id d2so624750ilr.12 for ; Sat, 01 Oct 2022 07:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Kd4chqgK1KQ+MpTq30mfGE4GQMCMS4otAtcgGC2Hrlg=; b=F8izA6f7jYIONkh1u2+0aDHzmrszcMOb3VHixRaZf+MIfuhX0Hgd0jvnfMczL4anPu VyCAjLu+gaOSqj3VBTAy/ykrlvjVlpG4djZDDgBS4pN28WAYT8X2AHAerTdk6lVBDPp1 neTMenqKhqZbnRNunZmi5bdwUXTJNR8yUWbIiW+hz5qw1ITwLn+WKqDEMUkOFC0IOZpl AVaA3mE04wJ33lgiThdLr+xrU+hNT8qsQe/CxP9URg0DvFoVlNQnQf2luULsxKDNVmY8 v6/Q4eE+odwsrBvLL7X/FTZweLTzUeZDrxIcJXsu8wj2lfH2F4e0YkU1deg/gQVC/psX vRtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Kd4chqgK1KQ+MpTq30mfGE4GQMCMS4otAtcgGC2Hrlg=; b=WdPOLFpsFGxRwtwmySFSc7BdvRSnHdv+niZo9jdcxchx+3NEGgNjunSCEq3agQn/vX MpnDCbkhAEdsISDjNWwp55piQ+fVZ85tGkd8TdI+f2a5dw6hWDiaLzAF/H/OTcqyGSYm TwaiAWONxq+Bwjbb9XmL8RH2WUQK2SMBOpJeicNYcRLGBc9tl9z/Sbl789xMlzN399Ka zdkMGhy1XzrTsq8cefJuyae/n0hDGAhPw3X8xcRGNprcGj6JjKGpYegknrffCmD7ELTa hWNKvAetsBEKpMwVtPg+W1fCSx6lo7cMKCB2f6zEzTlG2vWSAJ+IEgu1idnfBv1iSbMO K1qQ== X-Gm-Message-State: ACrzQf29s7CNa78WioBV9sU19P+qwjM0mOpjZAd90diQ3d84xU/dHnbw wczHnEiQ6tpjneOsj83xs5ebbOm4K50Fy8Czczt23C4F0f9K X-Received: by 2002:a92:ca4d:0:b0:2f9:3e9e:e566 with SMTP id q13-20020a92ca4d000000b002f93e9ee566mr5472114ilo.165.1664634984011; Sat, 01 Oct 2022 07:36:24 -0700 (PDT) MIME-Version: 1.0 References: <20220930125812.312b8dcc@md1za8fc.ad001.siemens.net> <20220930134205.10ab3694@md1za8fc.ad001.siemens.net> <20220930202508.2247737d@md1za8fc.ad001.siemens.net> In-Reply-To: <20220930202508.2247737d@md1za8fc.ad001.siemens.net> From: "Roberto A. Foglietta" Date: Sat, 1 Oct 2022 16:35:47 +0200 Message-ID: Subject: Re: [PATCH 1/1] expand last partition supports btrfs To: Henning Schild Cc: isar-users@googlegroups.com, "Schmidl, Tobias" Content-Type: multipart/alternative; boundary="000000000000e71fbf05e9fa085c" X-TUID: B5Hii3NRH+gm --000000000000e71fbf05e9fa085c Content-Type: text/plain; charset="UTF-8" Il giorno ven 30 set 2022 alle ore 20:25 Henning Schild < henning.schild@siemens.com> ha scritto: > Am Fri, 30 Sep 2022 19:37:09 +0200 > schrieb "Roberto A. Foglietta" : > > > Il giorno ven 30 set 2022 alle ore 13:42 Henning Schild < > > henning.schild@siemens.com> ha scritto: > > > > > > > > Feel free to apply that patch in your layer, you can likely bbappend > > > somehow and do not actually have to patch isar. > > > > > > > Geniale! > > That sounds like the trick works for you. Make sure to revert it once > the systemd patches are merged and you switch to a new isar. But i > assume the version will be bumped so the append will tell you that it > does not work any longer. > > > However the fact that DEBIAN_DEPENDS requires a comma separation that > > upsets me. > > We once tried to make that more OE but that is hard. Here you just have > a string that makes it into the control file. It can contain things > like "or" operators and versions. Too debian-specific to find a good > way to apply OE standards on it. > Ok, it makes sense now. > > > $ cat > > recipes-support/expand-on-first-boot/expand-on-first-boot_1.1.bbappend > > > > DEBIAN_DEPENDS += ", btrfs-progs" > > > > FILESEXTRAPATHS_prepend := "${THISDIR}:" > > > > SRC_URI += "file://expand-last-partition.sh" > > > > The second thing that upset me is that ${THISDIR}: search always on > > /debx86 which is the name of the layer > > Mhh you layer.conf should have LAYERDIR_debx86 defined. And you can go > > FILESEXTRAPATHS_prepend := > "${LAYERDIR_debx86}/recipes-support/expand-on-first-boot/files:" > yes, it works FILESEXTRAPATHS_prepend := "${LAYERDIR_debx86}/recipes-support/${PN}/files:" Thanks, R- --000000000000e71fbf05e9fa085c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Il giorno ven 30 set 2022 alle ore 20:25 = Henning Schild <henning.sc= hild@siemens.com> ha scritto:
Am Fri, 30 Sep 2022 19:37:0= 9 +0200
schrieb "Roberto A. Foglietta" <roberto.foglietta@gmail.com>:

> Il giorno ven 30 set 2022 alle ore 13:42 Henning Schild <
> hennin= g.schild@siemens.com> ha scritto:=C2=A0
>
> >
> > Feel free to apply that patch in your layer, you can likely bbapp= end
> > somehow and do not actually have to patch isar.
> >=C2=A0
>
> Geniale!

That sounds like the trick works for you. Make sure to revert it once
the systemd patches are merged and you switch to a new isar. But i
assume the version will be bumped so the append will tell you that it
does not work any longer.

> However the fact that DEBIAN_DEPENDS requires a comma separation that<= br> > upsets me.

We once tried to make that more OE but that is hard. Here you just have
a string that makes it into the control file. It can contain things
like "or" operators and versions. Too debian-specific to find a g= ood
way to apply OE standards on it.

Ok, it= makes sense now.
=C2=A0

> $ cat
> recipes-support/expand-on-first-boot/expand-on-first-boot_1.1.bbappend=
>
> DEBIAN_DEPENDS +=3D ", btrfs-progs"
>
> FILESEXTRAPATHS_prepend :=3D "${THISDIR}:"
>
> SRC_URI +=3D "file://expand-last-partition.sh"
>
> The second thing that upset me is that ${THISDIR}: search always on > /debx86 which is the name of the layer

Mhh you layer.conf should have LAYERDIR_debx86 defined. And you can go

FILESEXTRAPATHS_prepend :=3D
"${LAYERDIR_debx86}/recipes-support/expand-on-first-boot/files:"<= br>

yes, it works

= FILESEXTRAPATHS_prepend :=3D "${LAYERDIR_debx86}/recipes-support/${PN}= /files:"

Thanks, R-
--000000000000e71fbf05e9fa085c--