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

Re: root or non-root for make-kpkg?



On Sun, Jan 05, 2003 at 02:42:59PM -0500, David Z Maze wrote:
> Tim Dijkstra <newsuser@famdijkstra.org> writes:
> > On Sun, 05 Jan 2003 12:02:19 +0000
> > Tim <gob@subdimension.com> wrote:
> >> I installed a new kernel as per:
> >> 
> >> http://newbiedoc.sourceforge.net/system/kernel-pkg.html.en
> >> 
> >> as non-root.  make-kpkg failed, with this error:
> >> 
> >> need root priviledges
> >> make: *** [kernel-image-deb] Error 1
> >
> >   fakeroot make-kpkg ....
> 
> Even better, 'make-kpkg --rootcmd=fakeroot ...'  This will only run
> the things that need to be run under fakeroot under fakeroot, in
> principle.

You can make this the default by putting 'root_cmd := fakeroot' in
~/.kernel-pkg.conf, too.

> In reality, under woody, if you're building add-on modules, you still
> need 'fakeroot make-kpkg modules-image'; under sid, many, but not all,
> of the modules DTRT with --fakeroot.

Hm. Lucky I don't build any add-on modules, I suppose. :)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: