Displaying 2 results from an estimated 2 matches for "creatorerror".
2009 Sep 22
1
[PATCH] edit-livecd in python
...stderr = dev_null).communicate()[0]
+ for word in out.split():
+ if word.startswith("TYPE"):
+ self._LoopImageCreator__fstype = word.split("=")[1].strip("\"")
+
+ except IOError, e:
+ raise CreatorError("Failed to determine fsimage TYPE: %s" % e )
+
+
+ def _get_fslable(self):
+ dev_null = os.open("/dev/null", os.O_WRONLY)
+ try:
+ out = subprocess.Popen(["/sbin/e2label", self._image],
+ std...
2010 Feb 19
0
[PATCH] Help reduce size of iso by symlinking initrd's from isolinux/ and EFI/boot if md5's match
...nitrd_csum = initrd_check(isolinux_initrd)
+ if efi_initrd_csum == isolinux_initrd_csum:
+ os.remove(efi_initrd)
+ os.symlink(isolinux_initrd,efi_initrd)
+ except:
+ pass
editor.unmount()
editor.package(output)
except CreatorError, e:
--
1.6.6