Commit 24f1b6eb authored by Aard's avatar Aard

[ssu] Allow rnd/release specific device repositories (repos-rnd/repos-release)

parent fe572c4c
......@@ -333,6 +333,11 @@ QStringList SsuDeviceInfo::repos(bool rnd, int filter){
if (boardMappings->contains(deviceVariant(true) + "/repos"))
result.append(boardMappings->value(deviceVariant(true) + "/repos").toStringList());
// add device configured repos only valid for rnd and/or release
repoKey = (rnd ? "/repos-rnd" : "/repos-release");
if (boardMappings->contains(deviceVariant(true) + repoKey))
result.append(boardMappings->value(deviceVariant(true) + repoKey).toStringList());
// read the disabled repositories for this device
// user can override repositories disabled here in the user configuration
foreach (const QString &key, disabledRepos())
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