Merge lp:~vorlon/eucalyptus/ubuntu.tweak into lp:~ubuntu-core-dev/eucalyptus/ubuntu

Proposed by Steve Langasek
Status: Merged
Merged at revision: not available
Proposed branch: lp:~vorlon/eucalyptus/ubuntu.tweak
Merge into: lp:~ubuntu-core-dev/eucalyptus/ubuntu
Diff against target: 64 lines
4 files modified
debian/changelog (+9/-0)
debian/eucalyptus-common.postinst (+1/-4)
debian/eucalyptus-nc.config (+5/-3)
debian/eucalyptus-nc.templates (+6/-0)
To merge this branch: bzr merge lp:~vorlon/eucalyptus/ubuntu.tweak
Reviewer Review Type Date Requested Status
Eucalyptus Maintainers Pending
Review via email: mp+12448@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I have merged this into lp:~ubuntu-core-dev/eucalyptus/ubuntu

--
:-Dustin

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-09-26 02:28:26 +0000
3+++ debian/changelog 2009-09-26 03:30:26 +0000
4@@ -1,8 +1,17 @@
5 eucalyptus (1.6~bzr854-0ubuntu7) UNRELEASED; urgency=low
6
7+ [ Dustin Kirkland ]
8 * tools/eucalyptus-nc.in: exit 0, rather than 1, in the -nc
9 init script when unconfigured, related to bug LP: #430075
10
11+ [ Steve Langasek ]
12+ * Move eucalyptus-nc "no VT" handling for bug #426830 to a debconf script
13+ instead, so that users are a bit more likely to see this.
14+ * Drop the dpkg-statoverride check on /var/lib/eucalyptus/keys in the
15+ eucalyptus-common postinst; this was ineffective anyway because we'd done
16+ a chown -R immediately before that, so the only part that was respecting
17+ statoverride were the directory perms.
18+
19 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 25 Sep 2009 19:26:02 -0700
20
21 eucalyptus (1.6~bzr854-0ubuntu6) karmic; urgency=low
22
23=== modified file 'debian/eucalyptus-common.postinst'
24--- debian/eucalyptus-common.postinst 2009-09-25 21:12:38 +0000
25+++ debian/eucalyptus-common.postinst 2009-09-26 03:30:26 +0000
26@@ -44,10 +44,7 @@
27 fi
28
29 chown -R eucalyptus:eucalyptus /var/lib/eucalyptus/ /var/log/eucalyptus
30- if ! dpkg-statoverride --list /var/lib/eucalyptus/keys >/dev/null 2>&1; then
31- chown eucalyptus:eucalyptus /var/lib/eucalyptus/keys
32- chmod 700 /var/lib/eucalyptus/keys
33- fi
34+ chmod 700 /var/lib/eucalyptus/keys
35 fi
36
37 #DEBHELPER#
38
39=== renamed file 'debian/eucalyptus-nc.preinst' => 'debian/eucalyptus-nc.config'
40--- debian/eucalyptus-nc.preinst 2009-09-25 18:46:51 +0000
41+++ debian/eucalyptus-nc.config 2009-09-26 03:30:26 +0000
42@@ -5,6 +5,8 @@
43 # Warn users that installing eucalyptus-nc on a system without VT
44 # may be undesirable.
45
46-egrep "flags.*:.*(svm|vmx)" /proc/cpuinfo >/dev/null 2>&1 || echo "WARNING: This system's CPU does not seem to support virtualization acceleration, which is strongly recommended for Eucalyptus Nodes."
47-
48-#DEBHELPER#
49+if ! egrep -q "flags.*:.*(svm|vmx)" /proc/cpuinfo 2>&1
50+then
51+ db_input high eucalyptus-nc/no_vmx || true
52+ db_go
53+fi
54
55=== added file 'debian/eucalyptus-nc.templates'
56--- debian/eucalyptus-nc.templates 1970-01-01 00:00:00 +0000
57+++ debian/eucalyptus-nc.templates 2009-09-26 03:30:26 +0000
58@@ -0,0 +1,6 @@
59+Template: eucalyptus-nc/no_vmx
60+Type: error
61+_Description: This hardware does not support virtualization acceleration
62+ This system's CPU does not have support for virtualization acceleration,
63+ which is strongly recommended for Eucalyptus Nodes. Eucalyptus running on
64+ this hardware will be unaccelerated.

Subscribers

People subscribed via source and target branches