Displaying 2 results from an estimated 2 matches for "_liveimagecreatorbase__isodir".
2010 Feb 19
0
[PATCH] Help reduce size of iso by symlinking initrd's from isolinux/ and EFI/boot if md5's match
...print "Launching shell. Exit to continue."
print "----------------------------------"
editor.launch_shell()
+ # reduce iso size by symlinking initrd's if they match
+ efi_initrd = "%s/EFI/boot/initrd0.img" % editor._LiveImageCreatorBase__isodir
+ isolinux_initrd = "%s/isolinux/initrd0.img" % editor._LiveImageCreatorBase__isodir
+
+ def initrd_check(initrd_file):
+ m = hashlib.md5()
+ f = open(initrd_file,"r")
+ while 1:
+ chunk = f.read(65536)
+...
2009 Sep 22
1
[PATCH] edit-livecd in python
...mg"""
+
+ self._LoopImageCreator__blocksize = 4096
+ self._LoopImageCreator__fslabel = None
+ self._LoopImageCreator__instloop = None
+ self._LoopImageCreator__fstype = None
+ self._LoopImageCreator__image_size = None
+
+ self._LiveImageCreatorBase__isodir = None
+ """directory where the iso is staged"""
+
+ # properties
+ def __get_image(self):
+ if self._LoopImageCreator__imagedir is None:
+ self.__ensure_builddir()
+ self._LoopImageCreator__imagedir = tempfile.mkdtem...