By making it a separate stanza. This is to help avoid people
accidentally adding stuff after it, such as in the following patches.

Signed-off-by: Ian Campbell <ian.campb...@citrix.com>
---
v3: New patch
---
 Osstest/Debian.pm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index bdbe2f3..c985913 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -550,11 +550,14 @@ d-i apt-setup/contrib boolean false
 d-i pkgsel/include string openssh-server, ntp, ntpdate, ethtool, wget, 
$extra_packages
 
 $xopts{ExtraPreseed}
+END
 
+    $preseed .= <<END;
 ### END OF DEBIAN PRESEED BASE
-
 END
-}          
+
+    return $preseed;
+}
 
 sub preseed_create ($$;@) {
     my ($ho, $sfx, %xopts) = @_;
-- 
2.1.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to