Commits

William Pitcock committed dbf8aa1

debian-base: only use dummy grub config if we're running on xen

  • Participants
  • Parent commits 48b6f7a

Comments (0)

Files changed (1)

File appliancekit/specs/debian-base.spec

 	{"operation": "runcmd", "chroot": true, "command": ["apt-get", "-y", "--force-yes", "install", "openssh-server", "e2fsprogs"]},
 	{% block kernelinst %}
 		{"operation": "runcmd", "chroot": true, "command": ["apt-get", "-y", "--force-yes", "install", "linux-image"]},
-		{"operation": "render_template", "template": "debian/grub-menu.lst.tmpl", "target": "/boot/grub/menu.lst"},
+		{% if 'xen-tweaks' in phases %}
+			{"operation": "render_template", "template": "debian/grub-menu.lst.tmpl", "target": "/boot/grub/menu.lst"},
+		{% endif %}
 	{% endblock %}
 {% endblock %}
 {% block packages %}