[Top][All Lists]
[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
- Re: [Ltib] Using LTIB without root privileges, (continued)
- Re: [Ltib] Using LTIB without root privileges, Stuart Hughes, 2012/07/04
- Re: [Ltib] Using LTIB without root privileges, Christoph Baumann, 2012/07/05
- Re: [Ltib] Using LTIB without root privileges, Stuart Hughes, 2012/07/05
- Re: [Ltib] Using LTIB without root privileges, Ted Marshall, 2012/07/05
- Re: [Ltib] Using LTIB without root privileges, Jehan Bing, 2012/07/05
- Re: [Ltib] Using LTIB without root privileges, Stuart Hughes, 2012/07/06
- Re: [Ltib] Using LTIB without root privileges, Jehan Bing, 2012/07/06
- Re: [Ltib] Using LTIB without root privileges, John Clark, 2012/07/06
- Re: [Ltib] Using LTIB without root privileges, Peter Barada, 2012/07/10
Re: [Ltib] Using LTIB without root privileges, Christoph Baumann, 2012/07/05
Re: [Ltib] Using LTIB without root privileges,
Christoph Baumann <=
Re: [Ltib] Using LTIB without root privileges, Stuart Hughes, 2012/07/04