@@ -13,7 +13,7 if [ "$BUILD_KERNEL" = true ] ; then | |||
|
13 | 13 | # Copy existing kernel sources into chroot directory |
|
14 | 14 | if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then |
|
15 | 15 | # Copy kernel sources and include hidden files |
|
16 |
cp -r "${KERNELSRC_DIR}/". "${R} |
|
|
16 | cp -r "${KERNELSRC_DIR}/". "${KERNEL_DIR}" | |
|
17 | 17 | |
|
18 | 18 | # Clean the kernel sources |
|
19 | 19 | if [ "$KERNELSRC_CLEAN" = true ] && [ "$KERNELSRC_PREBUILT" = false ] ; then |
@@ -31,7 +31,7 if [ "$BUILD_KERNEL" = true ] ; then | |||
|
31 | 31 | fi |
|
32 | 32 | |
|
33 | 33 | # Copy downloaded kernel sources |
|
34 |
cp -r "${temp_dir}/linux/"* "${R} |
|
|
34 | cp -r "${temp_dir}/linux/"* "${KERNEL_DIR}" | |
|
35 | 35 | |
|
36 | 36 | # Remove temporary directory for kernel sources |
|
37 | 37 | rm -fr "${temp_dir}" |
@@ -84,7 +84,7 if [ "$BUILD_KERNEL" = true ] ; then | |||
|
84 | 84 | fi |
|
85 | 85 | |
|
86 | 86 | #Switch to KERNELSRC_DIR |
|
87 |
pushd "${KERNEL |
|
|
87 | pushd "${KERNEL_DIR}" | |
|
88 | 88 | |
|
89 | 89 | # GPL v2.0 |
|
90 | 90 | #https://github.com/sakaki-/bcmrpi3-kernel-bis/blob/master/conform_config.sh |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant