commit daa83998194389946d94d6ebd8afe3048cea85eb Author: Dave Riches dcr226@fedorapeople.org Date: Fri Jan 7 13:58:17 2011 +0000
remove mount_and_steal, not needed anymore
multiboot-media-creator.py | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) --- diff --git a/multiboot-media-creator.py b/multiboot-media-creator.py index 7ab78b1..2285a28 100644 --- a/multiboot-media-creator.py +++ b/multiboot-media-creator.py @@ -73,21 +73,6 @@ def make_iso(): mkisocmd='mkisofs -R -v -V "Multi-Boot" -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -allow-limited-size -o Multi-Boot.iso %s' % mytemp os.system(mkisocmd)
-def mount_and_steal(): - """Realistically, this is only here to prove things are working. It will create the temps -then mount the isos, then steal the kernels, then un-mount the isos. You get the idea""" - for i in getisos(path): - makedirs(i) - BN=os.path.basename(i) - mount_path=mount_iso(i) - print "Mounted iso: %s" % i - print "Mount point is: %s" % mount_path - shutil.copy2(mount_path+"/isolinux/vmlinuz0",os.path.join(mytemp, BN,"images/")) - print "Stole the kernel" - umount_iso(i) - print "Un-mounted iso: %s" % i - make_iso() - def build_filesystem(): try: for i in getisos(path, "live"):