Added build dependancies
This commit is contained in:
parent
fda7d465b7
commit
0ae7ef62b1
3 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
||||||
# pkgkernel
|
# pkgkernel
|
||||||
|
|
||||||
Simple command line for compile new kernel on Debian
|
Simple outils permettant de compiler le kernel sur GNU/Debian
|
||||||
|
|
||||||
Based on https://debian-facile.org/doc:systeme:kernel:compiler
|
Based on https://debian-facile.org/doc:systeme:kernel:compiler
|
||||||
|
|
||||||
|
Merci d'utiliser `pkgkernel-auto.sh`. La différence principale avec pkgkernel.sh
|
||||||
|
c'est que ce script est totalement automique. Il récupère les sources depuis
|
||||||
|
[kernel.org](https://www.kernel.org), les compile et les installe.
|
||||||
|
|
||||||
|
A terme le premier script disparaitra.
|
||||||
|
|
|
@ -16,6 +16,9 @@ FILE=`echo ${URL}|rev|cut -d'/' -f 1 | rev`
|
||||||
DIR="/usr/src/${KERNEL}"
|
DIR="/usr/src/${KERNEL}"
|
||||||
mkdir "${DIR}"
|
mkdir "${DIR}"
|
||||||
|
|
||||||
|
# Install build dependancies
|
||||||
|
apt install build-essential fakeroot dpkg-dev perl libssl-dev bc gnupg dirmngr libelf-dev flex bison
|
||||||
|
|
||||||
# Go to build dir
|
# Go to build dir
|
||||||
cd "${DIR}" || exit
|
cd "${DIR}" || exit
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@ KERNEL=${KERNEL%$EXTENSION}
|
||||||
|
|
||||||
DIR="/usr/src/${KERNEL}"
|
DIR="/usr/src/${KERNEL}"
|
||||||
|
|
||||||
|
# Install build dependancies
|
||||||
|
apt install build-essential fakeroot dpkg-dev perl libssl-dev bc gnupg dirmngr libelf-dev flex bison
|
||||||
|
|
||||||
# Create dedicated folder
|
# Create dedicated folder
|
||||||
mkdir "${DIR}"
|
mkdir "${DIR}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue