ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Using LTIB without root privileges


From: Christoph Baumann
Subject: Re: [Ltib] Using LTIB without root privileges
Date: Tue, 10 Jul 2012 14:09:16 +0200 (CEST)

Hi All,

meanwhile I managed to get rid of "sudo" during the build process and 
populating the rootfs.

The key parts are:

1. replace the ' in command strings like "... --define '_tmppath 
$cf->{tmppath}' ..."
   with \" -> "... --define \"_tmppath $cf->{tmppath}\" ..."

2. configure the sudo command as follows:
   sudo         => "fakechroot fakeroot-sysv -s $top/.fakeroot-sysv_state \
                    -i $top/.fakeroot-sysv_state"
   This requires fakechroot and fakeroot.

The current state of the fakeroot environment is stored in .fakeroot-sysv_state 
so that it can be used for later calls. E.g. packing the rootfs into a TAR 
archive.


Regards,
Christoph Baumann



reply via email to

[Prev in Thread] Current Thread [Next in Thread]