Re: need anexample for debian packaging
In building debian packages,why do you require root privileges and so we have to use fakeroot..?
Re: need anexample for debian packaging
On Mon, Jul 21, 2008 at 12:04 PM, Reema Shah [EMAIL PROTECTED] wrote: In building debian packages,why do you require root privileges and so we have to use fakeroot..? fakeroot is not necessary now with new dpkg. -- Cheers, Kartik Mistry | 0xD1028C8D | IRC: kart_ Blogs: {ftbfs,kartikm}.wordpress.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: need anexample for debian packaging
* Kartik Mistry [EMAIL PROTECTED] [080721 09:25]: On Mon, Jul 21, 2008 at 12:04 PM, Reema Shah [EMAIL PROTECTED] wrote: In building debian packages,why do you require root privileges and so we have to use fakeroot..? fakeroot is not necessary now with new dpkg. Reading through the changelogs, I only find in a change Oct 2007 that dpkg-buildpackage uses fakeroot without being told so. I doubt it is possible to build proper packages without root/fakeroot or whatever else causing programs to think they run as root and preserving user and permissions of files not representable as mere user. Hochachtungsvoll, Bernhard R. Link -- Never contain programs so few bugs, as when no debugging tools are available! Niklaus Wirth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: need anexample for debian packaging
Reema Shah [EMAIL PROTECTED] writes: In building debian packages,why do you require root privileges and so we have to use fakeroot..? The manpage for 'fakeroot(1)' gives the answer: fakeroot runs a command in an environment wherein it appears to have root privileges for file manipulation. This is useful for allowing users to create archives (tar, ar, .deb etc.) with files in them with root permissions/ownership. Without fakeroot one would need to have root privileges to create the constituent files of the archives with the correct permissions and ownership, and then pack them up, or one would have to construct the archives directly, without using the archiver. Also note that this is explicitly used so that building a Debian binary package *does not* require root privileges. -- \ “Are you thinking what I'm thinking, Pinky?” “Uh... yeah, | `\ Brain, but where are we going to find rubber pants our size?” | _o__) —_Pinky and The Brain_ | Ben Finney -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
need anexample for debian packaging
Can u explain debian packaging with a good example please..
Re: need anexample for debian packaging
On Fri, Jul 18, 2008 at 3:16 PM, Reema Shah [EMAIL PROTECTED] wrote: Can u explain debian packaging with a good example please.. Hi, You can start with 'hello' and 'hello-debhelper' packages to start. -- Cheers, Kartik Mistry | 0xD1028C8D | IRC: kart_ Blogs: {ftbfs,kartikm}.wordpress.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]