Questions on livecd-iso-to-disk
by Williamson Grant
Hi all, a couple of questions.
Has anyone created a simple process to turn a livecd/livedvd directly
to a compressed usb image, i.e. bypassing the need
to have a usb key itself. Reasoning I am asking, I want to build and
maintain usb images on a remote server.
Has anyone already implemented full liveusb encryption(not just home)
with overlay, home. Or is the performance just too slow?
Thanks to all who have worked on these tools.
15 years, 1 month
imgcreate/live.py
by Jeremy Katz
imgcreate/live.py | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
New commits:
commit 1ab1603c70b8e5ca0c54e701618208fc66278f40
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Mar 2 20:39:36 2009 -0500
Support syslinux having moved to /usr/share
diff --git a/imgcreate/live.py b/imgcreate/live.py
index c75cc92..7b07d22 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -308,12 +308,13 @@ class x86LiveImageCreator(LiveImageCreatorBase):
return ""
def __find_syslinux_menu(self):
- for menu in ["vesamenu.c32", "menu.c32"]:
- if os.path.isfile(self._instroot + "/usr/lib/syslinux/" + menu):
- return menu
+ for menu in ("vesamenu.c32", "menu.c32"):
+ for dir in ("/usr/lib/syslinux/", "/usr/share/syslinux/"):
+ if os.path.isfile(self._instroot + dir + menu):
+ return menu
raise CreatorError("syslinux not installed : "
- "no suitable /usr/lib/syslinux/*menu.c32 found")
+ "no suitable *menu.c32 found")
def __find_syslinux_mboot(self):
#
@@ -330,8 +331,10 @@ class x86LiveImageCreator(LiveImageCreatorBase):
files += [mboot]
for f in files:
- path = self._instroot + "/usr/lib/syslinux/" + f
-
+ if os.path.exists(self._instroot + "/usr/lib/syslinux/" + f):
+ path = self._instroot + "/usr/lib/syslinux/" + f
+ elif os.path.exists(self._instroot + "/usr/share/syslinux/" + f):
+ path = self._instroot + "/usr/share/syslinux/" + f
if not os.path.isfile(path):
raise CreatorError("syslinux not installed : "
"%s not found" % path)
15 years, 1 month