Displaying 1 result from an estimated 1 matches for "efi_initrd".
Did you mean:
efi_init
2010 Feb 19
0
[PATCH] Help reduce size of iso by symlinking initrd's from isolinux/ and EFI/boot if md5's match
...mgcreate.live import *
@@ -310,6 +310,28 @@ def main():
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"...