aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/linux.sh
blob: 143c692011010a896935910d7975c519a4787d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

make mrproper &&
cp -v ../kernelconfig .config &&
yes "" | make oldconfig &&
make "${MAKEFLAGS}" &&
make modules_install &&
cp -iv arch/x86_64/boot/bzImage /boot/linux-"${VERSION}" &&
cp -iv System.map /boot/System.map-"${VERSION}" &&
cp -iv .config /boot/config-"${VERSION}" &&

install -dv /usr/share/doc/linux-"${VERSION}" &&
cp -rv Documentation/* /usr/share/doc/linux-"${VERSION}"