You are not logged in.
I am having some problems with a pkgbuild which have to use a python script.
When I makepkg the pkgbuild, I am entering fakeroot environment and the pkgbuild starts making the directories under $startdir/pkg/. After some steps, the pkgbuild executes a python script that creates a folder in /usr/lib/ and put some files in there. The problem is that the script tries to put the files in /usr/lib/ and not in $startdir/pkg/usr/lib/, although it is in fakeroot environment.
Is this a makepkg bug?
If not, how can I execute the script under fakeroot environment?
Offline
fakeroot is not the same as - or even similar to - chroot. The only thing fakeroot does is to pretend (as far as it can) that you are running as the 'root' user. If you want the python script to put files in $startdir/pkg/blah/blah you must tell it to do so (somehow). The problem is with the script and not with makepkg.
larch: http://larch.berlios.de
Offline