Skip to content

Commit

Permalink
[ks] Add model to adaptation repos to avoid cache mixups
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed Apr 24, 2013
1 parent 8a4287d commit 1dc63f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ssuks/ssukickstarter.cpp
Expand Up @@ -60,6 +60,15 @@ QStringList SsuKickstarter::repos(){

foreach (const QString &repo, repos){
QString repoUrl = ssu.repoUrl(repo, rndMode, QHash<QString, QString>(), repoOverride);
if (repo.startsWith("adaptation"))
result.append(QString("repo --name=%1-%2-%3 --baseurl=%4")
.arg(repo)
.arg(deviceModel)
.arg((rndMode ? repoOverride.value("rndRelease")
: repoOverride.value("release")))
.arg(repoUrl)
);
else
result.append(QString("repo --name=%1-%2 --baseurl=%3")
.arg(repo)
.arg((rndMode ? repoOverride.value("rndRelease")
Expand Down

0 comments on commit 1dc63f2

Please sign in to comment.