Rename package. sipb-xen-autoinstaller/2.0
authorEric Price <ecprice@mit.edu>
Mon, 28 Jul 2008 03:50:12 +0000 (23:50 -0400)
committerEric Price <ecprice@mit.edu>
Mon, 28 Jul 2008 03:50:12 +0000 (23:50 -0400)
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=745

debian/changelog
debian/control
debian/sipb-xen-autoinstaller-guest.install [new file with mode: 0644]
debian/sipb-xen-autoinstaller-host.install [new file with mode: 0644]
debian/sipb-xen-guest-installer.postinst [deleted file]

index 6ed8a3f..db484ae 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-autoinstaller (2.0) unstable; urgency=low
+
+  * Move the autoinstall inside a VM.
+
+ -- Eric Price <ecprice@mit.edu>  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
index 2f15ed2..a503650 100644 (file)
@@ -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 (file)
index 0000000..0134111
--- /dev/null
@@ -0,0 +1 @@
+guest/* .
diff --git a/debian/sipb-xen-autoinstaller-host.install b/debian/sipb-xen-autoinstaller-host.install
new file mode 100644 (file)
index 0000000..260c50b
--- /dev/null
@@ -0,0 +1 @@
+host/* .
diff --git a/debian/sipb-xen-guest-installer.postinst b/debian/sipb-xen-guest-installer.postinst
deleted file mode 100755 (executable)
index 7f2af3e..0000000
+++ /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:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# 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
-
-