lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: zImage now holds vmlinux, System.map and config in sections. (fwd)

>>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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.066 / U:2.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site