Re: [Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Warren Togami

Daniel P. Berrange wrote:

On Mon, Feb 18, 2008 at 05:15:20PM -0500, Warren Togami wrote:

Daniel P. Berrange wrote:

On Mon, Feb 18, 2008 at 04:58:38PM -0500, Warren Togami wrote:

ChrootCreator class and chroot-creator tool
- install to a target chroot directory

This is slightly updated from my previous post 3 days ago.

Your attachment was 0-bytes long

Regards,
Dan.
I'm not sure what's going on here.  Prior to resending it I tested it by 
sending the mail to myself, and it worked.


The version of mailman on redhat.com is ancient & buggy, breaking if you 
send patches with git.



http://fedorapeople.org/~wtogami/temp/0001-ChrootCreator-class-and-chroot-creator-tool-instal.patch


This patch only seems to have the chroot-creator CLI tool, and not the
corresponding ChrootCreator class

Regards,
Dan.


Oops.  Forgot git commit -a.

https://bugzilla.redhat.com/show_bug.cgi?id=433379
Both patches attached here now.

Warren

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Daniel P. Berrange
On Mon, Feb 18, 2008 at 05:15:20PM -0500, Warren Togami wrote:
> Daniel P. Berrange wrote:
> >On Mon, Feb 18, 2008 at 04:58:38PM -0500, Warren Togami wrote:
> >>ChrootCreator class and chroot-creator tool
> >>- install to a target chroot directory
> >>
> >>This is slightly updated from my previous post 3 days ago.
> >
> >Your attachment was 0-bytes long
> >
> >Regards,
> >Dan.
> 
> I'm not sure what's going on here.  Prior to resending it I tested it by 
> sending the mail to myself, and it worked.

The version of mailman on redhat.com is ancient & buggy, breaking if you 
send patches with git.

> http://fedorapeople.org/~wtogami/temp/0001-ChrootCreator-class-and-chroot-creator-tool-instal.patch

This patch only seems to have the chroot-creator CLI tool, and not the
corresponding ChrootCreator class

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-   Perl modules: http://search.cpan.org/~danberr/  -=|
|=-   Projects: http://freshmeat.net/~danielpb/   -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Douglas McClendon

Warren Togami wrote:
I'm not sure what's going on here.  Prior to resending it I tested it by 
sending the mail to myself, and it worked.


http://fedorapeople.org/~wtogami/temp/0001-ChrootCreator-class-and-chroot-creator-tool-instal.patch 


Looks like you're hitting the old git formatted patch issue.  Those 4 
lines at the top (or at least one of them) confuse at least one mail 
server along the way.  Remove those, and I'm pretty sure it will get 
through, and still apply with patch just fine.


-dmc

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Warren Togami

Daniel P. Berrange wrote:

On Mon, Feb 18, 2008 at 04:58:38PM -0500, Warren Togami wrote:

ChrootCreator class and chroot-creator tool
- install to a target chroot directory

This is slightly updated from my previous post 3 days ago.


Your attachment was 0-bytes long

Regards,
Dan.


I'm not sure what's going on here.  Prior to resending it I tested it by 
sending the mail to myself, and it worked.


http://fedorapeople.org/~wtogami/temp/0001-ChrootCreator-class-and-chroot-creator-tool-instal.patch
Uploaded it here.

Warren Togami
[EMAIL PROTECTED]

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


[Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread 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
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Daniel P. Berrange
On Mon, Feb 18, 2008 at 04:58:38PM -0500, Warren Togami wrote:
> ChrootCreator class and chroot-creator tool
> - install to a target chroot directory
> 
> This is slightly updated from my previous post 3 days ago.

Your attachment was 0-bytes long

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-   Perl modules: http://search.cpan.org/~danberr/  -=|
|=-   Projects: http://freshmeat.net/~danielpb/   -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


[Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Warren Togami

ChrootCreator class and chroot-creator tool
- install to a target chroot directory

This is slightly updated from my previous post 3 days ago.

Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


[Fedora-livecd-list] Re: Live ISO within initrd for PXE Boot?

2008-02-18 Thread Richard W.M. Jones

Warren Togami wrote:
http://git.fedoraproject.org/git/?p=livecd;a=commit;h=e0f0269d3a8f8f310e7c5fdfb8af45892f419c13 



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.


It fits our purpose:

 - PXE boot will always happen over a fast LAN
 - image size isn't too large (under 200 MB for P2V and
 IIRC even less for ovirt)
 - machines are known to have sufficient RAM

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.


The server side of this is much harder to set up.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903


smime.p7s
Description: S/MIME Cryptographic Signature
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list