From 60bb04328262a8cee85e7001c6f0de5cdbe0a71f Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 19 Aug 2006 07:46:41 +0000 Subject: [PATCH] 2006-08-19 07:46:41 by steve When no initrd is being used the xm.tmpl file shouldn't insert a ramdisk. Closes: 383703 Patch from Henning Sprang --- AUTHORS | 3 +++ debian/changelog | 4 ++++ etc/xm.tmpl | 6 +++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index cac4aa2..e530a1a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -17,6 +17,9 @@ Contributions Edd Dumbill - Contributed APT sources.list file for Ubuntus Dapper release. + Henning Sprang + - Many suggestions and useful Debian bug reports. + Sven Hertge - Bugfix for Debian/Gentoo package installation. diff --git a/debian/changelog b/debian/changelog index 35389db..44111af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,7 @@ + * New upstream release. + - Don't setup ramdisk in xm.tmpl if one isn't being used. + (Closes: #383703) + xen-tools (2.3-1) unstable; urgency=high * Urgency set to high because the software will not work correctly unless diff --git a/etc/xm.tmpl b/etc/xm.tmpl index 4903139..8667d85 100644 --- a/etc/xm.tmpl +++ b/etc/xm.tmpl @@ -8,7 +8,11 @@ # Kernel + memory size # kernel = '{$kernel}' -ramdisk = '{$initrd}' +{ if ( $initrd ) + { + $OUT.= "ramdisk = '$initrd'\n"; + } +} memory = '{$memory}'