imgcreate/creator.py
by Jeremy Katz
imgcreate/creator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6149c09920aaf5c53bd8e31013c0f4a5de206141
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Feb 20 12:44:42 2008 -0500
Fix typo noticed by dexter <dex DOT mbox AT googlemail DOT com>
diff --git a/imgcreate/creator.py b/imgcreate/creator.py
index a8c9d9b..c7b1046 100644
--- a/imgcreate/creator.py
+++ b/imgcreate/creator.py
@@ -274,7 +274,7 @@ class ImageCreator(object):
"""Mount various system directories onto _instroot.
This method is called by mount(), but may also be used by subclasses
- in order to re-mount the bindmounts after modifying the underyling
+ in order to re-mount the bindmounts after modifying the underlying
filesystem.
"""
16 years, 2 months
imgcreate/creator.py
by Jeremy Katz
imgcreate/creator.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d570c73c1912a6a8b0f21a383d9850e1189f9619
Author: Warren Togami <wtogami(a)redhat.com>
Date: Thu Feb 14 18:23:13 2008 -0500
LiveCD Patch: Typo in _do_bindmounts() comment
diff --git a/imgcreate/creator.py b/imgcreate/creator.py
index c2ed770..a8c9d9b 100644
--- a/imgcreate/creator.py
+++ b/imgcreate/creator.py
@@ -274,8 +274,8 @@ class ImageCreator(object):
"""Mount various system directories onto _instroot.
This method is called by mount(), but may also be used by subclasses
- in order to re-mount the bindmounts after modifying the underyling the
- underlying filesystem.
+ in order to re-mount the bindmounts after modifying the underyling
+ filesystem.
"""
for b in self.__bindmounts:
16 years, 2 months
unmount failure kaboom
by Warren Togami
chroot-creator does:
creator.mount()
# --bind mount a directory like /opt/ltsp/i386 upon instroot
creator.install()
creator.configure()
creator.unmount()
# Umount all the bind mounts then unmount instroot
...
creator.cleanup()
# Recursively delete the temp directory
Between unmount() and cleanup() in other LiveCD workflows is a time
consuming step where an image is created. Unfortunately, in my case
there is no time consuming step between unmount() and cleanup() which
sometimes leads to this failure:
Installing: xorg-x11-drv-spaceorb ##################### [308/308]
umount: /var/tmp/imgcreate-C_SsuB/install_root: device is busy
Thankfully none of the bind mounts from the host were still mounted
during the recursive delete. But it did blow away the payload of the
chroot-creator run.
Is there any safe way to detect that processes within the chroot are
truly done before trusting that the unmount was complete?
Warren Togami
wtogami(a)redhat.com
16 years, 2 months
PATCH: Chroot-Creator subclass and chroot-creator tool
by Warren Togami
ChrootCreator class and chroot-creator tool
- install to a target chroot directory
It does not change the behavior of any existing user of LiveCD tools.
This is a slightly updated from my previous post 3 days ago.
Warren Togami
wtogami(a)redhat.com
16 years, 2 months
Live ISO within initrd for PXE Boot?
by Warren Togami
http://git.fedoraproject.org/git/?p=livecd;a=commit;h=e0f0269d3a8f8f310e7...
>
> The way it works is to bundle the complete ISO image inside the initrd.
> The kernel and (bloated) initrd are downloaded using PXE in the normal
> way, and the init script finds and loopback-mounts the ISO image and
> booting continues as normal.
Wow. I don't mean to offend, but this seems like an incredibly bad way
of doing this. Isn't this really slow in the boot up because you must
wait for the entire ISO to download? It also requires the client to
have more than enough RAM to have the entire ISO in memory? It sounds
like the entire memory used by the ISO remains unavailable to the booted
system.
I need something similar to boot read-only OS images over PXE boot for
LTSP. Upstream LTSP5 uses nbd to serve a raw squashfs image as a
network block device, which means only a tiny bit needs to be in the
initrd and very little memory overhead. Parts of the read-only image
are streamed over the network on demand.
I'm waiting on Jeremy to get back regarding a long-term plan for
supporting mayflower-like things within mkinitrd itself. NBD support
was not accepted into mkinitrd because it would rely upon mayflower-like
functionality to do right.
Warren Togami
wtogami(a)redhat.com
16 years, 2 months
Creating i386 LiveCD on x86_64 Fedora
by Gain Paolo Mureddu
Hello, I'm terribly sorry if this has already been asked, and thus
answered. I'm trying to generate an i686 LiveCD image on an x86_64
Fedora, how can I force the packages to be fetched and "installed" be
those for i686, or do I need to be running an i686 Fedora?
Thanks in advance.
16 years, 2 months
livecd-iso-to-disk
by Gary Thomas
The documentation on 'livecd-iso-to-disk' is pretty thin.
My main [first?] question is once I create such a USB-stick
image, how do I boot it? Do I have to have a machine with
a BIOS that understands such?
Thanks for any help/pointers
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
16 years, 2 months
class ChrootCreator for Review
by Warren Togami
Hi folks,
I am attaching changes that implements class ChrootCreator, allowing you
to install into a target chroot. chroot-creator is the frontend script
that uses this new class. ChrootCreator is similar to existing
uses of ImageCreator except the installed chroot is not destroyed after
it is done.
Any comments to improve this?
Warren Togami
wtogami(a)redhat.com
16 years, 2 months