From: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
To: "amikan@ilbers.de" <amikan@ilbers.de>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>,
"Kiszka, Jan" <jan.kiszka@siemens.com>
Subject: Re: [PATCH v3] meta: drop debian stretch support
Date: Mon, 2 Jan 2023 12:51:46 +0000 [thread overview]
Message-ID: <a84294a4c605f7fbebb38c9db3f47a54a4e40ed0.camel@siemens.com> (raw)
In-Reply-To: <3348a660-cbf4-f57f-8522-c1e2cbede5d1@siemens.com>
On Mon, 2023-01-02 at 12:01 +0100, Jan Kiszka wrote:
> On 27.12.22 07:35, Anton Mikanovich wrote:
> > Debian Stretch state was moved to EOL since July 2020, so drop it.
> > This will allow us to get rid of many hacks inside Isar core and
> > single
> > example packages.
> > Also drop raspbian-stretch distro and rpi machine used it.
> > Drop wic_fakeroot fsck hack because it is no more needed.
> >
> > Update documentation to remove Debian Stretch there also.
> >
> > Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
>
> ...
>
> > diff --git a/meta/classes/dpkg-gbp.bbclass b/meta/classes/dpkg-
> > gbp.bbclass
> > index 68172b3f..f765eb9a 100644
> > --- a/meta/classes/dpkg-gbp.bbclass
> > +++ b/meta/classes/dpkg-gbp.bbclass
> > @@ -9,16 +9,13 @@ S = "${WORKDIR}/git"
> >
> > PATCHTOOL ?= "git"
> >
> > -GBP_EXTRA_OPTIONS ?= "--git-pristine-tar"
> > +GBP_EXTRA_OPTIONS ?= "--pristine-tar"
> >
> > SCHROOT_MOUNTS = "${WORKDIR}:${PP} ${GITDIR}:/home/.git-downloads"
> >
> > dpkg_runbuild_prepend() {
> > sh -c "
> > cd ${WORKDIR}/${PPS}
> > - gbp buildpackage --git-ignore-new --git-builder=/bin/true
> > ${GBP_EXTRA_OPTIONS}
> > + gbp export-orig ${GBP_EXTRA_OPTIONS}
> > "
> > - # NOTE: `buildpackage --git-builder=/bin/true --git-pristine-
> > tar` is used
> > - # for compatibility with gbp version froms debian-stretch. In
> > newer distros
> > - # it's possible to use a subcommand `export-orig --pristine-
> > tar`
> > }
>
> This cleanup is requiring an entry in RECIPE-API-CHANGELOG.md, see
> https://github.com/siemens/meta-coral/blob/66a85fc4958524526d4a5e2eda0588de2a5f46f9/recipes-devtools/bazel-bootstrap/bazel-bootstrap_4.1.0%2Bds-1.bb#L14
> and https://github.com/siemens/meta-iot2050/pull/396.
>
Yes, we definitely need that API changelog entry. We have the following
pattern in many recipes:
GBP_EXTRA_OPTIONS = "--git-no-pristine-tar --git-upstream-
branch=master"
This now has to become:
GBP_EXTRA_OPTIONS = "--no-pristine-tar --upstream-branch=master"
Felix
> Jan
>
> --
> Siemens AG, Technology
> Competence Center Embedded Linux
>
next prev parent reply other threads:[~2023-01-02 12:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 6:35 Anton Mikanovich
2022-12-30 19:20 ` Anton Mikanovich
2023-01-02 11:01 ` Jan Kiszka
2023-01-02 12:51 ` Moessbauer, Felix [this message]
2023-01-02 12:54 ` Moessbauer, Felix
2023-01-02 13:06 ` Jan Kiszka
2023-01-03 9:16 ` Baurzhan Ismagulov
2023-01-04 6:56 ` Uladzimir Bely
2023-01-02 15:56 ` Henning Schild
2023-01-02 22:03 ` Henning Schild
2023-01-04 7:04 ` Uladzimir Bely
2023-01-04 8:17 ` Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a84294a4c605f7fbebb38c9db3f47a54a4e40ed0.camel@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox