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

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to