Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ssu] Allow rnd/release specific device repositories (repos-rnd/repos…
…-release)
  • Loading branch information
Bernd Wachter committed Oct 6, 2013
1 parent fe572c4 commit 24f1b6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libssu/ssudeviceinfo.cpp
Expand Up @@ -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())
Expand Down

0 comments on commit 24f1b6e

Please sign in to comment.