From: Uladzimir Bely <ubely@ilbers.de>
To: Cedric Hombourger <cedric.hombourger@siemens.com>,
isar-users@googlegroups.com
Subject: Re: [PATCH v2] repository: make repo_del_srcpackage delete only source packages
Date: Mon, 11 Mar 2024 15:07:57 +0300 [thread overview]
Message-ID: <2585fc22ce3c87d013a7b25bd4b08141ecc4f6d7.camel@ilbers.de> (raw)
In-Reply-To: <20240226070705.12563-1-cedric.hombourger@siemens.com>
On Mon, 2024-02-26 at 08:07 +0100, 'Cedric Hombourger' via isar-users
wrote:
> The reprepro removesrc command not only deletes the requested source
> package but also any binary packages that were built from it. If
> do_deploy_source is recalled after do_deploy_deb, we would see
> previously deployed binary packages vanish from isar-apt. This
> incoherency was found by running bitbake -fc deploy_source after a
> complete build of a recipe.
>
> Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
> ---
> meta/classes/repository.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/repository.bbclass
> b/meta/classes/repository.bbclass
> index a61e5dcd..28e712fd 100644
> --- a/meta/classes/repository.bbclass
> +++ b/meta/classes/repository.bbclass
> @@ -70,8 +70,8 @@ repo_del_srcpackage() {
> if [ -n "${GNUPGHOME}" ]; then
> export GNUPGHOME="${GNUPGHOME}"
> fi
> - reprepro -b "${dir}" --dbdir "${dbdir}" \
> - removesrc "${codename}" \
> + reprepro -b "${dir}" --dbdir "${dbdir}" -A source \
> + remove "${codename}" \
> "${packagename}"
> }
>
> --
> 2.39.2
>
Applied to next, thanks.
prev parent reply other threads:[~2024-03-11 12:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 9:42 [PATCH] " Cedric Hombourger
2024-02-23 11:34 ` Jan Kiszka
2024-02-23 11:52 ` cedric.hombourger
2024-02-23 12:23 ` Jan Kiszka
2024-02-26 7:07 ` [PATCH v2] " Cedric Hombourger
2024-03-11 12:07 ` Uladzimir Bely [this message]
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=2585fc22ce3c87d013a7b25bd4b08141ecc4f6d7.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=cedric.hombourger@siemens.com \
--cc=isar-users@googlegroups.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