Hi,
I'm using fakeroot (with its "-i" and "-s" options to build a session)
to build a filesystem. The idea is something like:
/scratchbox/login fakeroot -i <session> -s <session> \
apt-get install <package list>
/scratchobx/login fakeroot -i <session> -s <session> \
tar --directory /scratchbox/users/$LOGNAME/targets/$TARGET \
lpcf /tmp/filesystem.tar .
This seems to work okay, except that immediately after the apt-get
operation run inside fakeroot finishes, the <session> file doesn't
yet contain the entries for all the various things that the Debian
package maintainer scripts set up (setuid-binaries, chown's on
service-specific directories, etc) and faked-tcp is consuming almost
all CPU on the system. After some time (a couple minutes, perhaps),
faked-tcp will have written those missing entries into <session>.
Is this a bug? I can't tell from reading the wiki's page about the SB
custom version of fakeroot whether the faked-tcp is supposed to be
long-running. Is there any way to know how long faked-tcp is going to
need to finish writing all that stuff? I suppose I could make the
script block until "pidof faked-tcp" doesn't find anything, but this
seems prone to failure.
Thanks
--Matt
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users