On Wednesday 12 January 2005 17:55, Michael Richardson wrote: > >>>>> "Blaisorblade" == Blaisorblade <[EMAIL PROTECTED]> writes: > > Rob> Chapter 5 of current variants of LFS uses the host system to > Rob> create a toolchain you can chroot into and build the final > Rob> system with. Then in chapter 6, you build the final system in
> >> I think the use of chroot is a cop-out. > Rob> This requires root access (as does creating device nodes, > Rob> mounting /proc or loopback devices... A rather large number of > >> I use "fakeroot" to do all of that for embedded work that I do... > Blaisorblade> What's this? > A tool which LD_PRELOAD's a library that intercepts all calls that > require root, and "emulates" them. > I.e. if a program does "chown(2)", it just remembers that this > occured, and when a stat() is made, it returns the "right" answer. > (so tar/mkjffs, etc. get the right answer) Ah, ok... this means it cannot work onto UML, actually (unless you dinamically link it - which is not the common case...). > Used in debian a lot. > http://packages.debian.org/testing/utils/fakeroot > Blaisorblade> Yes, that's because it turns the console to raw mode > (don't ask me why). > Because, you'd like to have ^C get passed to the program being run > under the UML :-) Ah, well, yes, but that happens when you use /dev/tty0 as console inside UML (and I don't do it). -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel