Skip to content

Commit

Permalink
[backend] also set hostarch for kiwi-product and delta jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Oct 22, 2012
1 parent 85492a6 commit fefb81f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/bs_sched
Expand Up @@ -971,6 +971,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";
Expand Down Expand Up @@ -3832,6 +3833,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");
Expand Down

0 comments on commit fefb81f

Please sign in to comment.