From: Eric Price Date: Mon, 28 Jul 2008 03:50:12 +0000 (-0400) Subject: Rename package. X-Git-Tag: sipb-xen-autoinstaller/2.0^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-autoinstaller.git/commitdiff_plain/a082822a55d22fcf5930940341b94414f209946f Rename package. svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=745 --- diff --git a/debian/changelog b/debian/changelog index 6ed8a3f..db484ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-autoinstaller (2.0) unstable; urgency=low + + * Move the autoinstall inside a VM. + + -- Eric Price Sun, 27 Jul 2008 23:47:02 -0400 + sipb-xen-guest-installer (1.4) unstable; urgency=low * sipb-xen-install, using xen-create-image, which uses debootstrap diff --git a/debian/control b/debian/control index 2f15ed2..a503650 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.7.2 Package: sipb-xen-autoinstaller-guest Architecture: all -Depends: ${misc:Depends}, patch, xen-tools, kpartx, lvm2 +Depends: ${misc:Depends}, patch, xen-tools Description: SIPB Xen automatic guest-image installer system (guest) This is our automatic guest-image installer system. diff --git a/debian/sipb-xen-autoinstaller-guest.install b/debian/sipb-xen-autoinstaller-guest.install new file mode 100644 index 0000000..0134111 --- /dev/null +++ b/debian/sipb-xen-autoinstaller-guest.install @@ -0,0 +1 @@ +guest/* . diff --git a/debian/sipb-xen-autoinstaller-host.install b/debian/sipb-xen-autoinstaller-host.install new file mode 100644 index 0000000..260c50b --- /dev/null +++ b/debian/sipb-xen-autoinstaller-host.install @@ -0,0 +1 @@ +host/* . diff --git a/debian/sipb-xen-guest-installer.postinst b/debian/sipb-xen-guest-installer.postinst deleted file mode 100755 index 7f2af3e..0000000 --- a/debian/sipb-xen-guest-installer.postinst +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# postinst script for sipb-xen-guest-installer -# -# see: dh_installdeb(1) - -set -e -set -x - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - for d in /srv/guest-installer/*; do - # download the actual iso, unpack it, patch it. - wget -nc -i $d/iso.url -O $d/cdrom.orig.iso - MOUNTDIR=$(mktemp -d /mnt/sipb-xen-guest-installer.cdrom.XXXXXX) - mount -t iso9660 -o loop $d/cdrom.orig.iso $MOUNTDIR - rm -rf $d/cdrom.orig; cp -a $MOUNTDIR $d/cdrom.orig - umount $MOUNTDIR; rmdir $MOUNTDIR - rm -rf $d/cdrom; cp -a $d/cdrom.orig $d/cdrom - patch -d $d/cdrom -p1 <$d/cdrom.patch - tar cf - -C $d/cdrom.supplement . | tar xf - -C $d/cdrom - done - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - -