Merge lp:~tai271828/checkbox/160805.change.oem.sru.dist.upgrade.flag into lp:checkbox

Proposed by Taihsiang Ho
Status: Merged
Approved by: Taihsiang Ho
Approved revision: 4461
Merged at revision: 4462
Proposed branch: lp:~tai271828/checkbox/160805.change.oem.sru.dist.upgrade.flag
Merge into: lp:checkbox
Diff against target: 12 lines (+1/-1)
1 file modified
checkbox-ng/contrib/checkbox-sru.desktop (+1/-1)
To merge this branch: bzr merge lp:~tai271828/checkbox/160805.change.oem.sru.dist.upgrade.flag
Reviewer Review Type Date Requested Status
Taihsiang Ho Approve
Review via email: mp+302139@code.launchpad.net

Description of the change

change the flag name for checkbox desktop autostarter so it could be optional to dist-upgrade or not.

To post a comment you must log in.
Revision history for this message
Taihsiang Ho (tai271828) wrote :

low risk. this merge only change the flag name used for OEM SRU automation. self-approved.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'checkbox-ng/contrib/checkbox-sru.desktop'
2--- checkbox-ng/contrib/checkbox-sru.desktop 2016-04-21 07:48:46 +0000
3+++ checkbox-ng/contrib/checkbox-sru.desktop 2016-08-05 12:22:41 +0000
4@@ -3,7 +3,7 @@
5 Name=CheckBox SRU for Desktop
6 Comment=CheckBox can run after login to test a system automatically.
7 Icon=checkbox
8-Exec=sh -c 'if [ -e /usr/share/oem-automation/flags/first-start-checkbox ]; then sleep 60; sudo apt-get dist-upgrade -y --force-yes -o Dpkg::Options::="--force-confnew" > /home/ubuntu/oem-automation-dist-upgrade.log 2>&1; sudo rm -f /usr/share/oem-automation/flags/first-start-checkbox; sudo reboot; fi; if [ `pidof systemd` ]; then sudo systemctl start checkbox-ci-installed-notifier.service; /usr/bin/checkbox sru --check-config >/tmp/checkbox.log 2>&1; sudo systemctl start checkbox-ci-mailer.service; else sudo initctl emit checkbox-sru-started; /usr/bin/checkbox sru --check-config >/tmp/checkbox.log 2>&1; sudo initctl emit checkbox-sru-finished; fi'
9+Exec=sh -c 'if [ -e /usr/share/oem-automation/flags/execute-dist-upgrade ]; then sleep 60; sudo apt-get dist-upgrade -y --force-yes -o Dpkg::Options::="--force-confnew" > /home/ubuntu/oem-automation-dist-upgrade.log 2>&1; sudo rm -f /usr/share/oem-automation/flags/execute-dist-upgrade; sudo reboot; fi; if [ `pidof systemd` ]; then sudo systemctl start checkbox-ci-installed-notifier.service; /usr/bin/checkbox sru --check-config >/tmp/checkbox.log 2>&1; sudo systemctl start checkbox-ci-mailer.service; else sudo initctl emit checkbox-sru-started; /usr/bin/checkbox sru --check-config >/tmp/checkbox.log 2>&1; sudo initctl emit checkbox-sru-finished; fi'
10 Terminal=false
11 Type=Application
12 Categories=

Subscribers

People subscribed via source and target branches