public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] repository: make repo_del_srcpackage delete only source packages
@ 2024-02-23  9:42 Cedric Hombourger
  2024-02-23 11:34 ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Cedric Hombourger @ 2024-02-23  9:42 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

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.

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-11 12:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23  9:42 [PATCH] repository: make repo_del_srcpackage delete only source packages 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox