forked from IRATI/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-kernel
More file actions
executable file
·43 lines (35 loc) · 917 Bytes
/
install-kernel
File metadata and controls
executable file
·43 lines (35 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
# -*- sh -*-
#
# Written by: Francesco Salvestrini <f DOT salvestrini AT nextworks DOT it>
#
#
# Script-local parameters
#
#
# Do not change under this line
#
ME=install-kernel
. ./.env || {
echo "$ME: Cannot load environment"
exit 1
}
echo "$ME: Installing kernel headers (sandboxed)"
#(cd linux && make INSTALL_HDR_PATH=/usr headers_install) || {
#(cd linux && make headers_install INSTALL_HDR_PATH=`pwd`/usr) || {
(cd linux && make headers_install) || {
echo "$ME: Cannot install kernel headers"
exit 1
}
echo "$ME: Installing kernel modules"
#(cd linux && make INSTALL_MOD_PATH=$PREFIX modules_install) || {
(cd linux && make modules_install) || {
echo "$ME: Cannot install kernel modules"
exit 1
}
echo "$ME: Installing kernel"
#(cd linux && make INSTALL_PATH=$PREFIX/boot install) || {
(cd linux && make install) || {
echo "$ME: Cannot install kernel"
exit 1
}