From ca529d7223f22bafc0a608feae091a8234bca05d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 23 Jul 2013 15:43:28 +0100 Subject: [PATCH] Remove livecd.py, which was never finished. --- debian/changelog | 1 + livecd.py | 24 ------------------------ 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 livecd.py diff --git a/debian/changelog b/debian/changelog index 94ce9a6a..3038237e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ livecd-rootfs (2.164) UNRELEASED; urgency=low * Run builds under eatmydata. (This doesn't actually seem to help very much - it shaves a minute off a 48-minute test build on my laptop - but it will stop people being distracted by it.) + * Remove livecd.py, which was never finished. -- Colin Watson Mon, 22 Jul 2013 11:35:23 +0100 diff --git a/livecd.py b/livecd.py deleted file mode 100644 index ac224897..00000000 --- a/livecd.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/python -import os,sys -import atexit - -class Mount: - def __init__(self): - atexit.register(self.cleanup,self) - self.mounts={} - self.losetupDev=None - - def addMount(self,name): - self.mounts[name]=1 - - def losetup(self,name): - if self.losetupDev==None: - self.losetupDev=os.popen("losetup -f").read().strip() - os.system("losetup %s %s" % (self.losetupDev,name) - - def unLosetup(self): - os.system("losetup -d %s"%self.losetupDev) - - def cleanup(self): - # XXX - need to unmount stuff - pass