From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 21 Jan 2025 14:50:46 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f59.google.com (mail-qv1-f59.google.com [209.85.219.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 50LDoj0S027267 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Jan 2025 14:50:45 +0100 Received: by mail-qv1-f59.google.com with SMTP id 6a1803df08f44-6d87efed6c4sf87915106d6.1 for ; Tue, 21 Jan 2025 05:50:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1737467439; cv=pass; d=google.com; s=arc-20240605; b=M3i5gY+yMiYUvCxO68S5bc/jy/a9KKozWVS2Kc8MESg/xobvFvEiD9+6QCDpOsO/f7 kwHxMuyG8shLG2+zuwVyN7ud8L58F8n2zU1gybq83FHcafyryzB6mjnSFyQ0KJM90bon gWbGkAqvG0tYk+Okinz+r8uHp3oIAcujEeEEQb75Vy0VSNQgGKQHXxeEYjGkB6tv1h9+ MC0dYP5OoqLh3b5vLKR5ShZKZC5t0dVuL7UW4lmND0I2EvaRnQRHXmBnjlRfKS+sLI/v 9NnS7w1jD3vS5TjiQcvW7R9MaxLrg5k8vMxYCmyYHvEmLRS6k7pgE9o1ekPxYoxpmErZ 2NHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=fAyeGqdQ5H20Q2qM+Om5tZZx+9SK6BDazRlwn+Ng9cY=; fh=8iqIAs01rAIV481mkW1ELFEJ+TMli4TkS2Zecp1Abps=; b=PGZQwU8UZDPQvGWvCzSzlQumWb+S+zXv67h8JqfRyvHCfQmivHr8OtxOXBnh5qF5tE vKHXTXJg0H5X8z/cXb4QjmpLJ9aI7raW5BCI/srLBYSE7BPCb1Vq8PDNgumoij35xf98 9tD5UceESf0H567HWwvGxKEEKUyVkmydeTN4TSUTvQk+A8a68YU+A/wrx3PkDR2diss+ vx4P7U9IgW/gkI1ZRJypcIqIDXn7cDG8sA4S3F/Ardj2ktyvC7x3CAxsyq/NwJ1tvyoh +VsLjvCsn1jR4UamxW/JuEIxM5Xqq61zz0zw6OwcDLCemxWr5KfnCpzVrYx4u+byremT Jatw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SJzt7mGX; spf=pass (google.com: domain of stephenecker240@gmail.com designates 2001:4860:4864:20::2d as permitted sender) smtp.mailfrom=stephenecker240@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1737467439; x=1738072239; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:sender:from:to:cc:subject:date:message-id :reply-to; bh=fAyeGqdQ5H20Q2qM+Om5tZZx+9SK6BDazRlwn+Ng9cY=; b=XkHbV1diNPJdr1t3GqUYihGHD/8lBG1mtMSrDmi88aHnyUB6Rgp9phpuQnXXv/uHKB VcacgRRez+KEUqHXsGwUcHcwzTr7EsXV9VVVWhcqMjY3Q1Rxtc9P/YnlR1T9K7q9zGEM zoevqaGpfVmXeoiU6Rm6IdKpEF+JKZMuWH1lXBfst5LqigEvWP3lMQlye2htcuulywYC /wffBfvA/7s97CJj3aPDTIFDL1GqGcVBx+dv3gP+P9LLsBRU3O20y54rMY+U1x/f0Ano KW4Hwu45Y/PH5y1dkDy4ryPEY300HOkjH1HQZSk6VyzcFIvIviEshg7zvBg4DDq7LrPN btBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737467439; x=1738072239; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fAyeGqdQ5H20Q2qM+Om5tZZx+9SK6BDazRlwn+Ng9cY=; b=EY5bdJLEaxjwaUCwpahN/Fc3Lq3LoZUx7prHL8XuYq8qXSJVGM5imDXkqESWGdgaL9 zYm9Cj/L0vt31V8MeSvdGsOB7WY4+6KBKg92MEn6bwX7jZfrHEpj9zYK2iUAqwXPWbx7 iaMvyf4mbJgNUDDmiDzUlQwpM9ERz4fFwXXruHe9Sb5BUDHxkAWx3/vz9YYs9r2N9ar/ 2FKreGaw8ZdzuvRMs53633LRZh5KjZyKK+1mOqtaP2pSt+kgPOs6zQMWhBZv2qHvZtYS zqLHf1s1HRz9vHZPzfiztHKBL01+ABRKN9EI8oIZntj+japTHwMD35Hv/xc9JYqDVPcM LVwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737467439; x=1738072239; 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=fAyeGqdQ5H20Q2qM+Om5tZZx+9SK6BDazRlwn+Ng9cY=; b=Pi+AOj3o1uhgIxop2BE5v05FCD4svou0lZzSXGEbMTugruwVE9uAsGpnOjEIlN0YUb KqvGKOFDIxNPSRoGEzSofoIsJxW2lRplKhfvUwnHU+e2NUHMyqbi/Mr6VR+KUhG3rq6I ypyNpoYZnXrcM7xI9v3ALK7Y+O9bQFe5S58nPo7Z1tsgHLYUnT5GSWUwG4BsR+QfPmCa fP2JiLBSjEr58O86qi8EnKtKMxyHLouakIoasNHYGUX7rzq6STq/6imDm6+m+lvylTpk 6fze8FoeSDMM+8TREl0li1qASHTgvVELxUnI+CfWAPESwVq4ZQ73SsgS0LAO0GzjdNmu sQbw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUSb8NszLzWVhKwkLEFUMIwENrXPhQBaIvFQgJNE768vAEDtBezuvx0buaYw0IAypStdmI8@ilbers.de X-Gm-Message-State: AOJu0YzMcw8f2On/votBZwpBVNv3nfsIiLCxkc19ekUcIbYsWCfFrPhz gf3Th4v75AFtOeNjufhZpCWdeRPcTKLdovRGSe/tiThvERG5nKJb X-Google-Smtp-Source: AGHT+IEUAh/HmUPSeaVP7YpCH8klxLlR0H+Csax0o2vq8NrTDrFkwq66pvk5xuqsS+GQQf9iobbE3w== X-Received: by 2002:a05:6214:2dc8:b0:6d8:a1b4:b591 with SMTP id 6a1803df08f44-6e1b21d60b6mr313555106d6.23.1737467439393; Tue, 21 Jan 2025 05:50:39 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ad4:5688:0:b0:6d8:ee03:1a2d with SMTP id 6a1803df08f44-6e1a103bce2ls72647216d6.1.-pod-prod-01-us; Tue, 21 Jan 2025 05:50:38 -0800 (PST) X-Received: by 2002:a05:6102:162c:b0:4b2:5d10:58f1 with SMTP id ada2fe7eead31-4b690be8604mr13353220137.11.1737467438671; Tue, 21 Jan 2025 05:50:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737467438; cv=none; d=google.com; s=arc-20240605; b=TWDbkS+OsuvhQwNu+Y1OeOx/q0m75u6GVmGpfZU2rPyMFAlAE6chc9B5GFAxYbvw7d Ab8t4zbH4u/QPTuhlRvmabLKej0NlVScSk+dpTmINw5B5ORe/LuL4laFS3LTuYJ/QpcS EGGNHKaJTVfqfxI+X/PlZINn0s5haj6IsrAbvdLCHNdZG7VM26yQkqsaTPhxnqjfLSES gZGhOuccyKKXNR/LMb3LpfS1flm+rpvg9CqAY/OAWXUSLz2cWKcUAj9BpgdcufasLYs3 ufGrUMPsPSoiT4noloix2GJdQDblSKJi0y3mQCB+nETvV8R2TlDjMZU5pa8qLrMlleaN yZSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=mfUsQvoC60UQRhHXXE29ZrEYKdQ2B0HuMIgPcCesqXo=; fh=H1uX1jI0sY5ML9TV18wh+VcdmeEt8J5wU9DB7rqb+Yw=; b=XRUMFBHkwoebJ5+jjTGcI0OgNWLsRERtQ+D5KZCY8yVDxkqDEzLDQwGqgixuqM2hhE piLT/YuJFMfhAK3lRRYxrPtF0WQ+ZT+Dpagb4JHyCSxv42Mwbzwfg0vbFi947sry/pn9 4/nRAs4p3ICb7pjstgIB8qwkaI5fuWWodf3nzwiHPi8rRPEJbCDdz3OUFjMumqtDh5UB QyK0Jucq8lVwPiaLspEg1RVrHEH3+Ywyev0HB7IXOMP8JR98G6nk2rNy9fWn5VDlhtCx Q79vIEPJkKI+R7UVpf+YOgjg+HFs2JMHp6fbn7zW+Hl58QyoO14NSRkLUlPoMCAQURN5 OERg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SJzt7mGX; spf=pass (google.com: domain of stephenecker240@gmail.com designates 2001:4860:4864:20::2d as permitted sender) smtp.mailfrom=stephenecker240@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com. [2001:4860:4864:20::2d]) by gmr-mx.google.com with ESMTPS id 71dfb90a1353d-51cf56cbe2fsi312847e0c.4.2025.01.21.05.50.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2025 05:50:38 -0800 (PST) Received-SPF: pass (google.com: domain of stephenecker240@gmail.com designates 2001:4860:4864:20::2d as permitted sender) client-ip=2001:4860:4864:20::2d; Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-2a383315d96so3030668fac.3 for ; Tue, 21 Jan 2025 05:50:38 -0800 (PST) X-Gm-Gg: ASbGncu4TkL2+q7/pdlgPfJ6maW/y8E//YqyJrdwB74I2ZVpGnkLCij5B0TUFCEzEC7 FVYcyzkMTrZHAbcbup7MzxoXu+4fdLLESMO4NL7p4320Fz/PHdw== X-Received: by 2002:a05:6871:630c:b0:29e:4141:dc0 with SMTP id 586e51a60fabf-2b1c08cc36bmr9776403fac.12.1737467437991; Tue, 21 Jan 2025 05:50:37 -0800 (PST) MIME-Version: 1.0 References: <47d4ffc5-3681-4567-91c7-e6533a64b893n@googlegroups.com> <759c17a39de5c2f18e40dc43a6d1f57c668be94d.camel@ilbers.de> <38f1db24cba24707914f5dd5dcfcee210373c8d4.camel@ilbers.de> In-Reply-To: <38f1db24cba24707914f5dd5dcfcee210373c8d4.camel@ilbers.de> From: Stephen Ecker Date: Tue, 21 Jan 2025 07:50:25 -0600 X-Gm-Features: AbW1kvYbnuyeNgxyickSn1FFn9Le22p6M6v3CZ17ZNTJpD_wvjB2ZxHJ8TWM9LA Message-ID: Subject: Re: patch files To: Uladzimir Bely Cc: isar-users Content-Type: multipart/alternative; boundary="000000000000734d7b062c37a9fd" X-Original-Sender: stephenEcker240@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SJzt7mGX; spf=pass (google.com: domain of stephenecker240@gmail.com designates 2001:4860:4864:20::2d as permitted sender) smtp.mailfrom=stephenecker240@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.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=-4.7 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_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,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-TUID: ROVg05U1xig4 --000000000000734d7b062c37a9fd Content-Type: text/plain; charset="UTF-8" I made the patch file with the exact two files I'm trying to patch: diff -u ../../../isar-cip-core/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partitions.script encrypt_partitions.script > encrypt_partitions.script.patch On Tue, Jan 21, 2025, 6:43 AM Uladzimir Bely wrote: > On Mon, 2025-01-20 at 04:57 -0600, Stephen Ecker wrote: > > Bb shows the directories in which it looked for the patch file... It > > found that. It's the file to patch that quilt can't find: > > > > NOTE: Applying patch 'something.patch' (../meta-something/recipes- > > core/recipe-name/files/something.patch) > > .... > > can't find file to patch at input line 3 > > perhaps you used the wrong -p or --strip option? > > > > This looks not related to Isar or bitbake. Your patch simply doesn't > fit sources you want to apply it to. > > > ... > > > > It does not show the directories in which it tried to find the target > > file > > > > Maybe you could provide me an example patch file? > > > > > > > > On Mon, Jan 20, 2025, 2:31 AM Uladzimir Bely wrote: > > > On Sun, 2025-01-19 at 09:32 -0800, Stephen Ecker wrote: > > > > I'm not certain if this is isar specific or just bitbake: I have > > > > a > > > > patch file I've added to my layer but my build keeps erroring > > > > stating > > > > that it can't find the file to patch. the target file is in a > > > > recipe > > > > of the same name but in a different layer. to where should the > > > > patch > > > > file point in its second line? > > > > > > > > thanks > > > > > > > > > > Hello. > > > If you have some .bb in some layer and > > > for > > > it in your layer, you should also create in your layer > > > .bbappend with the contents like: > > > > > > | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" > > > | SRC_URI:append = " \ > > > | file://your.patch \ > > > | " > > > > > > > > > > -- > > > > You received this message because you are subscribed to the > > > > Google > > > > Groups "isar-users" group. > > > > To unsubscribe from this group and stop receiving emails from it, > > > > send an email to isar-users+unsubscribe@googlegroups.com. > > > > To view this discussion visit > > > > > https://groups.google.com/d/msgid/isar-users/47d4ffc5-3681-4567-91c7-e6533a64b893n%40googlegroups.com > > > > . > > > > > -- > Best regards, > Uladzimir. > > > > -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/CAK9C7GDN_8F40SCqOhh%2Bs4f4hZuUR7KUrhRwOzd%2BtiB2N11hcg%40mail.gmail.com. --000000000000734d7b062c37a9fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I made the patch file with the exact two files I'm tr= ying to patch:

diff -u ../../.= ./isar-cip-core/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partit= ions.script encrypt_partitions.script > encrypt_partitions.script.patch<= /div>


On Tue, Jan 21, 2025= , 6:43 AM Uladzimir Bely <ubely@ilber= s.de> wrote:
On Mon, 2025-01= -20 at 04:57 -0600, Stephen Ecker wrote:
> Bb shows the directories in which it looked for the patch file... It > found that.=C2=A0 It's the file to patch that quilt can't find= :=C2=A0
>
> NOTE: Applying patch 'something.patch' (../meta-something/reci= pes-
> core/recipe-name/files/something.patch)
> ....
> can't find file to patch at input line 3
> perhaps you used the wrong -p or --strip option?=C2=A0
>

This looks not related to Isar or bitbake. Your patch simply doesn't fit sources you want to apply it to.

> ...
>
> It does not show the directories in which it tried to find the target<= br> > file=C2=A0
>
> Maybe you could provide me an example patch file?=C2=A0
>
>
>
> On Mon, Jan 20, 2025, 2:31 AM Uladzimir Bely <ubely@ilbers.de> = wrote:
> > On Sun, 2025-01-19 at 09:32 -0800, Stephen Ecker wrote:
> > > I'm not certain if this is isar specific or just bitbake= :=C2=A0 I have
> > > a
> > > patch file I've added to my layer but my build keeps err= oring
> > > stating
> > > that it can't find the file to patch.=C2=A0 the target f= ile is in a
> > > recipe
> > > of the same name but in a different layer.=C2=A0 to where sh= ould the
> > > patch
> > > file point in its second line?
> > >
> > > thanks
> > >
> >
> > Hello.
> > If you have some <recipe>.bb in some layer and <files/yo= ur.patch>
> > for
> > it in your layer, you should also create in your layer
> > <recipe>.bbappend with the contents like:
> >
> > | FILESEXTRAPATHS:prepend :=3D "${THISDIR}/files:"
> > | SRC_URI:append =3D " \
> > |=C2=A0 =C2=A0 =C2=A0file://your.patch \
> > | "
> >
> >
> > > --
> > > You received this message because you are subscribed to the<= br> > > > Google
> > > Groups "isar-users" group.
> > > To unsubscribe from this group and stop receiving emails fro= m it,
> > > send an email to isar-users+unsubscri= be@googlegroups.com.
> > > To view this discussion visit
> > > https://groups.google.com/d/msgid/isar-users/47d= 4ffc5-3681-4567-91c7-e6533a64b893n%40googlegroups.com
> > > .
> >

--
Best regards,
Uladzimir.



--
You received this message because you are subscribed to the Google Groups &= quot;isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-use= rs+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/= d/msgid/isar-users/CAK9C7GDN_8F40SCqOhh%2Bs4f4hZuUR7KUrhRwOzd%2BtiB2N11hcg%= 40mail.gmail.com.
--000000000000734d7b062c37a9fd--