[olug] apt-get question
Phil Brutsche
pbrutsch at creighton.edu
Mon Mar 19 00:06:16 UTC 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A long time ago, in a galaxy far, far way, someone said...
> So is doing the following the old-fashioned way?
> download source
> make config(xconfig)
> make dep
> make bzImage
> cp bzImage /boot/new_kernel_name
> edit & run lilo
Yes, that's the old-fashioned way. Oh, and you forgot "make
modules_install"
> and, is the purpose of the deb to be able to archive your current
> kernel?
Basically. It makes it easy to share the same kernel between many
machines with a simple "apt-get install", provided you have a correctly
configured FTP directory structure.
But that (the FTP directory structure) is an entire book by itself, it
seems :)
> Sounds like making a deb would be a good idea.
It generally is, although I usually make a .tar.gz after I install the
image & modules, like so:
<become root>
cd /
tar cvfz <kernel-version>.tar.gz boot/System.map-<kernel-version>
boot/vmlinuz-<kernel-version>
lib/modules/<kernel-version>
The stuff after the "tar ..." should all be on the same line as the "tar"
command.
That way distributing the new kernel is as simple as:
1) FTP tarball
2) extract into root directory
3) massage bootloader for the new kernel
4) reboot
- --
- ----------------------------------------------------------------------
Phil Brutsche pbrutsch at creighton.edu
GPG fingerprint: BDA4 C23C 1989 31FF CBE8 7EB4 6CA7 9636 941E 8451
GPG key id: 941E8451
GPG public key: http://www.creighton.edu/~pbrutsch/public-key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Made with pgp4pine
iD8DBQE6tU16bKeWNpQehFERAouIAJ9VIny42qw7oBYrF627JWMQeDy4qwCfdMlZ
F/9r9gU60kntzsmuyHVVJS0=
=qmOE
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list