Skip to content

Commit

Permalink
[ssuks] Append flavour for rnd images to avoid cache conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed Sep 20, 2013
1 parent e423d75 commit 8fcff87
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ssuks/ssukickstarter.cpp
Expand Up @@ -107,19 +107,23 @@ QStringList SsuKickstarter::repos(){
// Adaptation repos need to have separate naming so that when images are done
// the repository caches will not be mixed with each other.
if (repo.startsWith("adaptation")) {
result.append(QString("repo --name=%1-%2-%3 --baseurl=%4")
result.append(QString("repo --name=%1-%2-%3%4 --baseurl=%5")
.arg(repo)
.arg(replaceSpaces(deviceModel))
.arg((rndMode ? repoOverride.value("rndRelease")
: repoOverride.value("release")))
.arg((rndMode ? "-" + repoOverride.value("flavourName")
: ""))
.arg(repoUrl)
);
}
else
result.append(QString("repo --name=%1-%2 --baseurl=%3")
result.append(QString("repo --name=%1-%2%3 --baseurl=%4")
.arg(repo)
.arg((rndMode ? repoOverride.value("rndRelease")
: repoOverride.value("release")))
.arg((rndMode ? "-" + repoOverride.value("flavourName")
: ""))
.arg(repoUrl)
);
}
Expand Down

0 comments on commit 8fcff87

Please sign in to comment.