Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e1cc4959c1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (19 sloc) 0.618 kB
#!/bin/sh
#
# installs a kernel
#
make modules_install
# fine out what kernel version this is
for TAG in VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION ; do
eval `sed -ne "/^$TAG/s/ //gp" Makefile`
done
SRC_RELEASE=$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION
# figure out the arch
#ARCH=`grep "CONFIG_ARCH " include/linux/autoconf.h | cut -f 2 -d "\""`
ARCH="i386"
# copy the kernel image
cp arch/$ARCH/boot/bzImage /boot/bzImage-"$SRC_RELEASE"
# copy the System.map file
cp System.map /boot/System.map-"$SRC_RELEASE"
#ln -sf /boot/System.map-"$SRC_RELEASE" /boot/System.map
echo "Installed $SRC_RELEASE for $ARCH"
Jump to Line
Something went wrong with that request. Please try again.