From 18c26cfebfae7ebd4b2a5637356bad834be29034 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Thu, 1 May 2008 01:08:14 -0400 Subject: [PATCH] update sx-make-iso to black-mesa's version The modtime on black-mesa of this new version is late October. The script is overtaken by events anyway, but just keeping things clean. svn path=/trunk/packages/sipb-xen-guest-installer/; revision=484 --- files/usr/sbin/sipb-xen-make-iso | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/usr/sbin/sipb-xen-make-iso b/files/usr/sbin/sipb-xen-make-iso index 97b651e..9b959cb 100755 --- a/files/usr/sbin/sipb-xen-make-iso +++ b/files/usr/sbin/sipb-xen-make-iso @@ -8,9 +8,8 @@ from subprocess import call data_dir = '/srv/guest-installer' -def make_debian_cd(name, passhashfile): +def make_debian_cd(name, tmptree, passhashfile): basetree = os.path.join(data_dir, name) - tmptree = tempfile.mkdtemp('', 'auto-install.', '/tmp') cdtree = os.path.join(tmptree, 'cdrom') shutil.copytree(os.path.join(basetree, 'cdrom'), cdtree, symlinks=True) new_preseed = file(os.path.join(cdtree, 'preseed.cfg'), 'w') -- 1.7.9.5