Re: root or non-root for make-kpkg?
On Sun, Jan 05, 2003 at 02:42:59PM -0500, David Z Maze wrote:
> Tim Dijkstra <email@example.com> writes:
> > On Sun, 05 Jan 2003 12:02:19 +0000
> > Tim <firstname.lastname@example.org> 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
You can make this the default by putting 'root_cmd := fakeroot' in
> 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 [email@example.com]