Re: zImage now holds vmlinux, System.map and config in sections.

Bryan Andersen (bryan@bogonomicon.net)
Tue, 25 Feb 2003 16:00:01 -0600


>>I, for one, do not see any point in trying to put more and more crap
>>into one file, when its perfectly easy to just use the "cp" command

> Not everybody are always that careful. I know I'm not. I've copied tens of
> kernels to floppy ("cp bzImage /dev/fd0" because it's so easy to do), and
> lost track which one is which. I've copied kernels to other computers, and
> lost track which is which. I've made mistakes copying kernels to /boot, and
> lost track which is which.

These problems are why I now always use shell scripts to do the steps
that always need to be done. If I did the steps by hand I'd make a
mistake atleast once in five times. I use the standard "make
modules_install install" to do the kernel install. I use shell scripts
to make the kernel and modules before the install and to build and
install all the nVidia modules after. This allows me to test a new
kernel much faster and with much less effort while not forgetting steps
along the way. The shell scripts don't need to be all that fancy. Most
often the same commands I would type in at the command line. The one
that builds and installs the nVidia stuff is just a bunch of cds to
directories then the make or make install with a "|| exit 2" for exiting
on failres. The lines are of the form:

cd {directory} && make {optional arg} || exit {#}

Areas in {} are replaced with the appropriate values. The "|| exit"
code is important because bash will normally continue on when a command
fails.

- Bryan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/