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

Re: Problem with kernel-package



I have solved my problem.  I installed fakeroot, then modified ~/.kernel-pkg.conf to use it (1).  Kernel compiles successfully, and .debs are generated in the parent directory ("~/src" in my case.)  I installed the linux-image .deb on the target machine successfully as well.

(1) I added a line: "root_cmd := fakeroot" to ~/.kernel-pkg.conf.

KP

On 6/22/06, James Westby < jw+debian@jameswestby.net> wrote:
On (22/06/06 21:07), Kit Peters wrote:
> On 6/22/06, James Westby < jw+debian@jameswestby.net> wrote:
> >It is oft recommended to use fakeroot rather that a real root command
> >for compiling.
> Hm. I've never used fakeroot for anything.  How would I compile a kernel in
> fakeroot?

aptitude install fakeroot
s/sudo/fakeroot/ in your command.

That should be it. You then don't have to enter your password, and there
is less chance of something going catastrophically wrong.

> >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=359832
> No, I'm using kernel-package 10.047.

It might be a re-occurence of a similar bug.

I am using the same version and compiled the debian 2.6.17.rc3 packages
a couple of days ago. Perhaps it could be the vanilla source that is
causing it. (Though I doubt it).

> Well, I'll try the make-kpkg clean, but I'm not sanguine about the outcome.

Neither am I.

James

--
  James Westby
  jw+debian@jameswestby.net
  http://jameswestby.net/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: