mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00
25 lines
1 KiB
Diff
25 lines
1 KiB
Diff
diff -Nur livecd-tools-18.8.old/imgcreate/live.py livecd-tools-18.8/imgcreate/live.py
|
|
--- livecd-tools-18.8.old/imgcreate/live.py 2014-01-21 16:45:02.415346403 +0400
|
|
+++ livecd-tools-18.8/imgcreate/live.py 2014-01-21 16:45:58.075348061 +0400
|
|
@@ -323,8 +323,12 @@
|
|
if os.path.exists("/usr/bin/isohybrid"):
|
|
if os.path.exists(isodir + "/isolinux/efiboot.img"):
|
|
subprocess.call(["/usr/bin/isohybrid", "-u", iso])
|
|
+ subprocess.call(["/usr/bin/rosa-image-fix-x86.pl", iso])
|
|
+ logging.warn("iso hacked with x86 version of script")
|
|
else:
|
|
subprocess.call(["/usr/bin/isohybrid", iso])
|
|
+ subprocess.call(["/usr/bin/rosa-image-fix-x86.pl", iso])
|
|
+ logging.warn("iso hacked with x86 version of script")
|
|
|
|
self.__implant_md5sum(iso)
|
|
|
|
@@ -671,7 +675,7 @@
|
|
return """label local
|
|
menu label Boot from local drive
|
|
menu default
|
|
- localboot 0x80
|
|
+ localboot 0xffff
|
|
"""
|
|
|
|
def __get_grub2_stanza(self, isodir):
|