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

Re: dpkg-buildpackage and fakeroot



Hi,
* Kamaraju S Kusumanchi <kamaraju@bluebottle.com> [2007-07-10 20:22]:
>     Can someone please tell me the difference between
> 
> dpkg-buildpackage -rfakeroot
> fakeroot dpkg-buildpackage

In this case the two are equivalent I think (apart from the 
process perspective). But you can use other programs than 
fakeroot with -r thats why its there, for example sudo.

> fakeroot dpkg-buildpackage -rfakeroot

Since dpkg prefixes the command which needs root permissions 
with the specified command I guess this would result in some
kind of double fakeroot.

> Which one should I use for building packages in Debian?

I guess most of the people (and the available documentation 
for developers) ues -rfakeroot.
Cheers
Nico

-- 
Nico Golde - http://ngolde.de - nion@jabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
http://people.debian.org/~nion/sponsoring-checklist.html

Attachment: pgp9RsaPAAgly.pgp
Description: PGP signature


Reply to: