From: Sven Joachim on
On 2010-07-26 14:00 +0200, Curt Howland wrote:

> On Monday 26 July 2010, Sven Joachim <svenjoac(a)gmx.de> was heard to
> say:
>> You need to install the fakeroot package to build Debian packages
>> as an ordinary user. �In Squeeze, dpkg-dev recommends fakeroot for
>> that reason.
>
> Well, that solves that question. I thought the fakeroot package was
> for "that extra bit of security", because I had it confused
> with "chroot" and that whole "jail" thing.
>
> Got it! I'll try again on my main system (the Lenny one) again today
> with all the advice given. I think it will work this time! And this
> may be the first time I didn't get advice from Ron Johnson. :^)

There's another advice I need to give: while dpkg-dev will automatically
use fakeroot when necessary, make-kpkg currently does not unless you set
ROOT_CMD=fakeroot in the environment. You can put this setting into
~/.kernel-pkg.conf (I have it there for ages, and forgot about it).

See kernel-pkg.conf(5) for other settings you may want to put into
~/.kernel-pkg.conf.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/87mxtel1xm.fsf(a)turtle.gmx.de
From: Dave Witbrodt on
On 07/26/2010 11:04 AM, Sven Joachim wrote:
> There's another advice I need to give: while dpkg-dev will automatically
> use fakeroot when necessary, make-kpkg currently does not unless you set
> ROOT_CMD=fakeroot in the environment. You can put this setting into
> ~/.kernel-pkg.conf (I have it there for ages, and forgot about it).

One can also add a command line option,

--rootcmd=fakeroot

or one can simply run the whole 'make-kpkg' command as the argument to
fakeroot:

fakeroot make-kpkg [...]


Dave W.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C4DA6EE.8010805(a)sbcglobal.net