Mailinglist Archive: opensuse-buildservice (120 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] fix migration product generation in product converter
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 07 Jul 2011 22:15:21 +0200
  • Message-id: <3851232.R9URIYDT9N@scherben>
Am Thursday, 7. July 2011, 21:06:58 schrieb Dirk Müller:
Hi,

yast2 wagon needs the package name, not the product name.

slightly modified version is commited.


From 68fe644e797cdca9c8d0e7e141531ab579a1088e Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@xxxxxxx>
Date: Thu, 7 Jul 2011 21:03:08 +0200
Subject: fix migration product name

---
src/backend/bs_productconvert | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/backend/bs_productconvert b/src/backend/bs_productconvert
index c4499e3..4fcb9f6 100755
--- a/src/backend/bs_productconvert
+++ b/src/backend/bs_productconvert
@@ -1191,7 +1191,7 @@ if (defined($product->{migrationtarget})){
# enforce correct upgrade product name
for my $upgrade ( @{$product->{upgrades}->{upgrade}||[]} ) {
$upgrade->{name} = $productname;
- $upgrade->{product} = $productname;
+ $upgrade->{product} = $packagename;
}

mkdir_p( "$outdir/_product:$productname" ) || die ("Unable to create
migration directory\n");


--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References