Merge lp:~dweaver/orange-box/orange-box-kiko-patch into lp:orange-box

Proposed by Darryl Weaver
Status: Merged
Merged at revision: 510
Proposed branch: lp:~dweaver/orange-box/orange-box-kiko-patch
Merge into: lp:orange-box
Diff against target: 33 lines (+29/-0)
1 file modified
usr/bin/orange-box-apm-power-fix (+29/-0)
To merge this branch: bzr merge lp:~dweaver/orange-box/orange-box-kiko-patch
Reviewer Review Type Date Requested Status
Dustin Kirkland  Pending
Review via email: mp+239627@code.launchpad.net

Description of the change

Orange-box-apm-power-fix to implement kiko's workaround for the No APM present message on intel NUCs booting on the orange-box.
This script only needs to be run once on an effected Orange-Box to patch the MAAS pxe boot files.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'usr/bin/orange-box-apm-power-fix'
2--- usr/bin/orange-box-apm-power-fix 1970-01-01 00:00:00 +0000
3+++ usr/bin/orange-box-apm-power-fix 2014-10-25 00:35:30 +0000
4@@ -0,0 +1,29 @@
5+#!/bin/sh
6+#
7+# orange-box-apm-power-fix - fix for issue with orange-box-apm-power
8+# Copyright (C) 2014 Canonical Ltd.
9+#
10+# Authors: Darryl Weaver <darryl.weaver@canonical.com>
11+#
12+# This program is free software: you can redistribute it and/or modify
13+# it under the terms of the GNU General Public License as published by
14+# the Free Software Foundation, version 3 of the License.
15+#
16+# This program is distributed in the hope that it will be useful,
17+# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+# GNU General Public License for more details.
20+#
21+# You should have received a copy of the GNU General Public License
22+# along with this program. If not, see <http://www.gnu.org/licenses/>.
23+
24+set -x
25+
26+cd /srv/data
27+wget https://launchpadlibrarian.net/187530745/acpioff.c32
28+cd /var/lib/maas/boot-resources/current/syslinux
29+sudo mv poweroff.com poweroff-APM.com
30+sudo mv /srv/data/acpioff.c32 poweroff.c32
31+
32+exit
33+

Subscribers

People subscribed via source and target branches