Commit 1dc63f2e authored by Aard's avatar Aard

[ks] Add model to adaptation repos to avoid cache mixups

parent 8a4287dd
......@@ -60,12 +60,21 @@ QStringList SsuKickstarter::repos(){
foreach (const QString &repo, repos){
QString repoUrl = ssu.repoUrl(repo, rndMode, QHash<QString, QString>(), repoOverride);
result.append(QString("repo --name=%1-%2 --baseurl=%3")
.arg(repo)
.arg((rndMode ? repoOverride.value("rndRelease")
: repoOverride.value("release")))
.arg(repoUrl)
);
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")
: repoOverride.value("release")))
.arg(repoUrl)
);
}
return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment