Skip to content
Browse files

[backend] also set hostarch for kiwi-product and delta jobs

  • Loading branch information...
1 parent 8a9df9c commit b08146f5b96d26fd7c5eef14aa3968fb66bcccea @mlschroe mlschroe committed with adrianschroeter Oct 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/backend/bs_sched
View
2 src/backend/bs_sched
@@ -930,6 +930,7 @@ sub createdeltajob {
'path' => $searchpath,
'needed' => 0,
};
+ $binfo->{'hostarch'} = $bconf->{'hostarch'} if $bconf->{'hostarch'};
writexml("$myjobsdir/.$job", "$myjobsdir/$job", $binfo, $BSXML::buildinfo);
print " created deltajob...\n";
@@ -3444,6 +3445,7 @@ sub rebuildkiwiproduct {
'readytime' => $now,
};
$binfo->{'syspath'} = $syspath if $syspath;
+ $binfo->{'hostarch'} = $bconf->{'hostarch'} if $bconf->{'hostarch'};
$binfo->{'revtime'} = $pdata->{'revtime'} if $pdata->{'revtime'};
$binfo->{'imagetype'} = $info->{'imagetype'} if $info->{'imagetype'};
mkdir_p("$reporoot/$prp/$myarch/$packid");

0 comments on commit b08146f

Please sign in to comment.
Something went wrong with that request. Please try again.