RE: LILO & Kernel Image too big --> make-kpkg
I've successfully accomplished what I needed, but I ended up doing
everything as root. I use xconfig, and that wouldn't work unless I logged
into X as root. So:
a) How "bad" is it doing everything as root?
b) How/where is this done that files can be created and xconfig run
without being root? I've used the source where it already is - /usr/src
John
On Mon, 14 Aug 2000, David Z Maze wrote:
> Since, surprisingly, nobody's pointed it out yet, you might want to
> look into the Debian kernel-package package. This builds Debian
> packages out of kernels, making it easier to build, install, and
> manage them. If you want to build a kernel, cd to the top of the
> kernel source tree, then
>
> make menuconfig
> fakeroot make-kpkg --revision=whatever buildpackage
> fakeroot make-kpkg modules
> cd ..
> dpkg -i *.deb
>
> The first line runs the standard kernel configuration utility. The
> second actually builds packages of the kernel source, header files,
> documentation, and the kernel to be installed. The third builds
> whatever module source trees you have installed to build extra Debian
> packages out of external kernel modules. The last goes off and
> installs the packages (and needs to be done as root).
Reply to: