Merge lp:~thomnico/orange-box/AMT-template-fix into lp:orange-box

Proposed by Nicolas Thomas
Status: Merged
Merged at revision: 516
Proposed branch: lp:~thomnico/orange-box/AMT-template-fix
Merge into: lp:orange-box
Diff against target: 23 lines (+9/-0)
1 file modified
usr/bin/orange-box-apm-power-fix (+9/-0)
To merge this branch: bzr merge lp:~thomnico/orange-box/AMT-template-fix
Reviewer Review Type Date Requested Status
Darryl Weaver Pending
Review via email: mp+240229@code.launchpad.net
To post a comment you must log in.
516. By Darryl Weaver

Nicolas Thomas 2014-10-31 Adding applying the tested AMT template change associated with it

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usr/bin/orange-box-apm-power-fix'
2--- usr/bin/orange-box-apm-power-fix 2014-10-25 00:14:02 +0000
3+++ usr/bin/orange-box-apm-power-fix 2014-10-31 09:27:20 +0000
4@@ -19,11 +19,20 @@
5
6 set -x
7
8+if [ ! -f /var/lib/maas/boot-resources/current/syslinux/poweroff-APM.com ]
9+then
10 cd /srv/data
11 wget https://launchpadlibrarian.net/187530745/acpioff.c32
12 cd /var/lib/maas/boot-resources/current/syslinux
13 sudo mv poweroff.com poweroff-APM.com
14 sudo mv /srv/data/acpioff.c32 poweroff.c32
15+fi
16+
17+#fixing the AMT template
18+cd /srv/data
19+wget https://launchpadlibrarian.net/187911231/not-permitted.patch
20+cd /etc/maas/templates/power
21+patch < /srv/data/not-permitted.patch
22
23 exit
24

Subscribers

People subscribed via source and target branches