Mailinglist Archive: opensuse-buildservice (120 mails)

< Previous Next >
[opensuse-buildservice] [PATCH] fix migration product generation in product converter
Hi,

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

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");
--
1.7.6
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups