From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6876139200490504192 X-Gmail-Labels: Topic type: DISCUSSION X-Received: by 2002:a25:1804:: with SMTP id 4mr3552965yby.153.1601019550371; Fri, 25 Sep 2020 00:39:10 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:d394:: with SMTP id e142ls813044ybf.10.gmail; Fri, 25 Sep 2020 00:39:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAK5BRSgbYkldrlJbAc820Gad8xtwNInFoHwQfudkDvj70YxWFcfhQzfecXP66Di+IpDg+ X-Received: by 2002:a25:6e41:: with SMTP id j62mr3777822ybc.365.1601019549779; Fri, 25 Sep 2020 00:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601019549; cv=none; d=google.com; s=arc-20160816; b=b9vesBjCpRs5A4CaG0H2Alt4yqNZzh84IzdeE4GRhIUc1O9vVTFdwZL4mmOFyNiox0 C+CR6xj8DJKGqJBM63txGKKuMit6O4/t/vZObKiIenW9p5YJfYXx4DdEWe1gFl51XfXV Rbjy9lDVq5jFbSoT476Gxxk9ijh9GeiVnYQlem9O3wjkBQ0dwYwlc5FWyyahdXGcQAHu kfOHs61e54bK+LBFmryNhwLEdDt/zd31WpXzA16+1TYKBxe6yJ/jDgd4V4y7IxOCkva2 DJYRwGTvLJ1GqCHx+QArgc2sVGwkdG7kWkfYVck5S23Ab+ViH9ldBCCOvz9AlXwKql/e B7ng== 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=eGOA/KImXok95wOhq/whEAXiEl4+XKSx1HYOir56g20=; b=w4E8SyAvVqBYnKIEMmC6Eox1YV6mgN1GsRXdirPWZr2kR5Aj3DqL4Ipg8+mSFx+OiT weaiSnhymsiDb5r0Sjfbv2cMSkE8DI6EfrTWivFU15vIHucc1HPMF2HNuOO7zy+L4Ejc EFcTXCAGRxFskER/fziwDy8n7KHJniAQOW28iMkXPIFSEHEd7Z6QqCSmuU4OYWZLP2aw +Gixcmy/0Bk5gFo4WAIJFHPY86K5kuXgiS5fmFfeJrwaks/hRWu+TNEQ7dOZjsanfq/u +28/t+KMXQCGk2BljAnlF6JkU/bKpxVWpE/zBj0GT0Rx+po5zsjzsnIhAvGcBBKkN0OA YQ1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ocARxkZD; spf=pass (google.com: domain of jlacvdr@gmail.com designates 2607:f8b0:4864:20::f43 as permitted sender) smtp.mailfrom=jlacvdr@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com. [2607:f8b0:4864:20::f43]) by gmr-mx.google.com with ESMTPS id e17si102192ybp.1.2020.09.25.00.39.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Sep 2020 00:39:09 -0700 (PDT) Received-SPF: pass (google.com: domain of jlacvdr@gmail.com designates 2607:f8b0:4864:20::f43 as permitted sender) client-ip=2607:f8b0:4864:20::f43; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ocARxkZD; spf=pass (google.com: domain of jlacvdr@gmail.com designates 2607:f8b0:4864:20::f43 as permitted sender) smtp.mailfrom=jlacvdr@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qv1-xf43.google.com with SMTP id cr8so852277qvb.10 for ; Fri, 25 Sep 2020 00:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eGOA/KImXok95wOhq/whEAXiEl4+XKSx1HYOir56g20=; b=ocARxkZDVcap7JhAyEO5s4nUm8RNsgvMdJ3ei5ods42QWyvgkutyDPhi5+mfEahmG/ Vog8SPwJaVyopijO8CHm7fuaESzSi1xRPdYTcnMyMa8hdvuSqNudflBMRdkOQETWDlUD +GbIVhwe/MU+IqIYdq+YOCN1tKfOacJqyzdjYFpOAlMEoqf3TPgv3UIuzqo+FVClH+bE MFLqm1FEfVBWDmQQ/pI1VmD4wwU4fPENTfm7tT92iZXyQ/YUlOc5dPHtgjQzRJtVNlmn uKx6Yx74xPVrVoSFBYOAhhPXRtWnqWqc+h9E6hrjbewL6YqIGqaKMyfOAkPdHb5uKOWP y+sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eGOA/KImXok95wOhq/whEAXiEl4+XKSx1HYOir56g20=; b=ZfWDe9TS0XFvluE5xspD/48eQXRdmiZ+ozHqRF/vHDc+tf5YMf4q8M85/Z8Qcn2PxF 2iq4M98wFIkGR5IJm6FR4bbP0nwfLCmixBYeVASqqEyGcklLZb6UmhrviG9EITaYqBDB BZdkZWMY1jLUPANC/Vsq6HFRAEW07NuVS5WUm5hhoxtFGhekZDGNLHJmQVPmGPidPmHD jwZQMaxwcWvbrUMGdAyg6KpSjiH7XPvj7h6q4sRc+q+dgVzG3PWGTtlGRHw+9EGyeZIa IgRV4QWe8+ZNhcSiEqZHnAjto///7wX3DqfKV1SiO426lkRjgMMzV9UtEAM0LlxG/s/J y6Qg== X-Gm-Message-State: AOAM531VGsZDVz8Ytbiil/Rl0xGeLXNRnaaN393izxVf9K+1xqXICA+D PeT1ldolDzLwshHwpOZeeelYhF2JSmLX9w+f9MupIiu//JA= X-Received: by 2002:a0c:fe8b:: with SMTP id d11mr3326670qvs.48.1601019549379; Fri, 25 Sep 2020 00:39:09 -0700 (PDT) MIME-Version: 1.0 References: <609bf0c9-efa8-4787-bee7-b556894d24c4n@googlegroups.com> <2340397a-4278-fd65-acd1-2ecff2a99b19@siemens.com> In-Reply-To: <2340397a-4278-fd65-acd1-2ecff2a99b19@siemens.com> From: jlacvdr Date: Fri, 25 Sep 2020 09:38:58 +0200 Message-ID: Subject: Re: Always patch latest upstream package To: Jan Kiszka Cc: isar-users Content-Type: multipart/alternative; boundary="00000000000084f2bf05b01e69b2" X-TUID: sMrKq99gReoo --00000000000084f2bf05b01e69b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable my question concern original package, like openssl in your example too bad doesn't solution exist, even a trick with Thanks for info & links Le ven. 25 sept. 2020 =C3=A0 08:16, Jan Kiszka a = =C3=A9crit : > On 24.09.20 21:31, jlac wrote: > > Hi, > > > > I would like apply patch on an upstream package but without specify > > version, like _%.bbappend in yocto project. > > How recipe must be name ? or How proceed? > > Do you mean patching an original (or third-party) Debian package? Then > have a look at [1]. A "real-word" case is [2]. > > Note, though, that you can track debian stable updates this way but not > major package version update. That's due to the original package, when > pulled via SRC_URI =3D "apt://${PN}", is unpacked to a path containing th= e > major version. And that path has to be known in order to set ${S}. There > was a lengthy discussion about that issue in [3], but we found not > better solution. > > Jan > > [1] https://github.com/ilbers/isar/tree/master/meta-isar/recipes-app/hell= o > [2] > > https://github.com/siemens/meta-iot2050/tree/master/recipes-security/open= ssl > [3] > > https://groups.google.com/d/msgid/isar-users/da04421b-fb4b-f5c1-539e-6053= ffc412d0%40siemens.com > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE > Corporate Competence Center Embedded Linux > --00000000000084f2bf05b01e69b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
my question concern original package, like openssl in your= example
too bad doesn't solution exist,=C2=A0even a trick with <= ;orig version>

Thanks for info & links

Le=C2=A0ven. 25 sept. 2020 =C3=A0=C2=A008:16, Jan Kiszka <jan.kiszka@siemens.com> a =C3=A9crit=C2= =A0:
On 24.09.20= 21:31, jlac wrote:
> Hi,
>
> I would like apply patch on an upstream package but without specify > version, like <recipe>_%.bbappend in yocto project.
> How recipe must be=C2=A0name ? or How proceed?

Do you mean patching an original (or third-party) Debian package? Then
have a look at [1]. A "real-word" case is [2].

Note, though, that you can track debian stable updates this way but not major package version update. That's due to the original package, when =
pulled via SRC_URI =3D "apt://${PN}", is unpacked to a path conta= ining the
major version. And that path has to be known in order to set ${S}. There was a lengthy discussion about that issue in [3], but we found not
better solution.

Jan

[1] https://github.com/ilbers/= isar/tree/master/meta-isar/recipes-app/hello
[2]
https://github.com/sieme= ns/meta-iot2050/tree/master/recipes-security/openssl
[3]
https= ://groups.google.com/d/msgid/isar-users/da04421b-fb4b-f5c1-539e-6053ffc412d= 0%40siemens.com

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--00000000000084f2bf05b01e69b2--