Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 24 lines (19 sloc) 0.618 kb
6fdf2496 »
2010-05-12 initial import from old git tree
1 #!/bin/sh
2 #
3 # installs a kernel
4 #
5 make modules_install
6
7 # fine out what kernel version this is
8 for TAG in VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION ; do
9 eval `sed -ne "/^$TAG/s/ //gp" Makefile`
10 done
11 SRC_RELEASE=$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION
12
13 # figure out the arch
14 #ARCH=`grep "CONFIG_ARCH " include/linux/autoconf.h | cut -f 2 -d "\""`
15 ARCH="i386"
16
17 # copy the kernel image
18 cp arch/$ARCH/boot/bzImage /boot/bzImage-"$SRC_RELEASE"
19
20 # copy the System.map file
21 cp System.map /boot/System.map-"$SRC_RELEASE"
22 #ln -sf /boot/System.map-"$SRC_RELEASE" /boot/System.map
23
24 echo "Installed $SRC_RELEASE for $ARCH"
Something went wrong with that request. Please try again.