Hi Mike, ----- Ursprüngliche Mail ----- > Von: "Mike Goins" <[email protected]> > An: [email protected] > Gesendet: Dienstag, 3. Juli 2012 16:39:25 > Betreff: Re: [Ltib] Using LTIB without root privileges > Interesting concept, so I though I would try it out. Here's what I > did: > > 1. Tool-chains and host support packages already installed. > 2. Built and installed fakeroot-ng, > http://sourceforge.net/projects/fakerootng/ > 3. commented out my /etc/sudoers entry that ltib requires. > 4. Modified ltib to use fakeroot-ng: replaced sudo => "sudo" with > sudo => "fakeroot-ng" > 5. If run already once as root the rpm database is owned by root, > chown as required. > 6. Ran ltib for one of my platform configs with --no-sudo to skip > check.
I did some testing in that case and ran into problems. rpm seems to fail under fakeroot-ng when called with "--initdb". Calling it as normal user in that case works. But later installing the RPMs with fakeroot-ng fails as they are not unpacked. So the rootfs doesn't get populated. Maybe "--relocate" could help but I remember having read some comment that some packages aren't relocateable. Regards, Christoph Baumann _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
