Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Export SSU_RELEASE_TYPE variable in kickstart script sections
  • Loading branch information
Bernd Wachter committed Apr 2, 2013
1 parent 694b53a commit 7fd60df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions rpm/ssu.changes
@@ -1,3 +1,6 @@
* Tue Apr 02 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.30
- Add some more unit tests

* Mon Apr 01 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.29.1
- Do proper handling of rnd/release modes
- Lowercase model names before searching for partition configuration
Expand Down
2 changes: 1 addition & 1 deletion rpm/ssu.spec
@@ -1,5 +1,5 @@
Name: ssu
Version: 0.29.1
Version: 0.30
Release: 1
Summary: SSU enabler for RND
Group: System/Base
Expand Down
3 changes: 3 additions & 0 deletions ssuks/ssukickstarter.cpp
Expand Up @@ -150,6 +150,9 @@ QStringList SsuKickstarter::scriptletSection(QString name, bool chroot){
}

if (!result.isEmpty()){
result.prepend(QString("export SSU_RELEASE_TYPE=%1")
.arg(rndMode ? "rnd" : "release"));

if (chroot)
result.prepend("%" + name);
else
Expand Down

0 comments on commit 7fd60df

Please sign in to comment.