From cc73494d297a380a22c5725d5ea5544b249110a0 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Wed, 18 Feb 2009 00:32:26 -0500 Subject: [PATCH 1/1] autoinstaller: poke policy-rc.d while using aptitude so we don't try to start daemons svn path=/trunk/packages/invirt-autoinstaller/; revision=2165 --- .../lib/xen-tools/debian.d/98-install-base-system | 12 ++++++++++-- debian/changelog | 6 ++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/common/usr/lib/xen-tools/debian.d/98-install-base-system b/common/usr/lib/xen-tools/debian.d/98-install-base-system index 042b554..d6737ae 100755 --- a/common/usr/lib/xen-tools/debian.d/98-install-base-system +++ b/common/usr/lib/xen-tools/debian.d/98-install-base-system @@ -20,13 +20,21 @@ logMessage Script $0 starting installDebianPackage ${prefix} ubuntu-minimal installDebianPackage ${prefix} ubuntu-standard + # For Debian, there is no metapackage, but we can pull in the -# equivalent based on package priority +# equivalent based on package priority. # # (On Ubuntu Hardy, this will additionally pull in libdns32, libisc32, -# and nfs-common, which seems fairly benign +# and nfs-common, which seems fairly benign.) + installDebianPackage ${prefix} aptitude + +logMessage "Installing Debian standard system to prefix ${prefix}" +echo -e '#!/bin/bash\nexit 101\n' > ${prefix}/usr/sbin/policy-rc.d +chmod +x ${prefix}/usr/sbin/policy-rc.d chroot ${prefix} aptitude -y install '~prequired|~pimportant|~pstandard' +rm -f {$prefix}/usr/sbin/policy-rc.d + # # Log our finish diff --git a/debian/changelog b/debian/changelog index ae392cd..dc36cbd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-autoinstaller (0.0.15) unstable; urgency=low + + * Poke policy-rc.d while using aptitude so we don't try to start daemons. + + -- Greg Price Wed, 18 Feb 2009 00:30:45 -0500 + invirt-autoinstaller (0.0.14) jaunty; urgency=low * Don't confuse MB with MiB. -- 1.7.9.5