@@ -15,7 +15,7 @@ DEB_PATH="${SCRIPT_PATH}/debian/wlanpi-kernel"
15
15
16
16
# Set default values for configurations
17
17
KERNEL_URL=" https://github.com/raspberrypi/linux.git"
18
- KERNEL_BRANCH=" rpi-6.7 .y"
18
+ KERNEL_BRANCH=" rpi-6.9 .y"
19
19
KERNEL_ARCH=" arm64"
20
20
KERNEL_DEFCONFIG=" bcm2711_defconfig"
21
21
WLANPI_DEFCONFIG=" wlanpi_v7l_defconfig"
@@ -292,27 +292,10 @@ generate_config()
292
292
log " ok" " Customize defconfig"
293
293
scripts/kconfig/merge_config.sh " ${KERNEL_PATH} " /arch/" ${ARCH} " /configs/{${KERNEL_DEFCONFIG} ,${WLANPI_DEFCONFIG} } | tee " ${LOG_PATH} " /update-config.log 2>&1
294
294
295
- requested_values=$( grep " Requested value:" " ${LOG_PATH} " /update-config.log)
296
- actual_values=$( grep " Actual value:" " ${LOG_PATH} " /update-config.log)
297
-
298
- mapfile -t requested_array <<< " $requested_values"
299
- mapfile -t actual_array <<< " $actual_values"
300
-
301
- for (( i= 0 ; i < ${# requested_array[@]} ; i++ )) ; do
302
- value_requested=" $( sed ' s/Requested value: //g' <<< " ${requested_array[$i]}" ) "
303
- value_actual=" $( sed ' s/Actual value: //g' <<< " ${actual_array[$i]}" ) "
304
-
305
- is_request_disable=" $( [ " ${value_requested#* =} " == " n" ] || grep -q " is not set" <<< " $value_requested" && echo disable || echo enable ) "
306
- is_actual_empty=$( awk ' {$1=$1;print}' <<< " $value_actual" | wc -c)
307
-
308
- if [ " $is_request_disable " == " disable" ] && [ $is_actual_empty -le 1 ]; then
309
- log " warn" " Following config requested to be disabled, but is not even present in this kernel."
310
- echo Config: " $value_requested "
311
- else
312
- log " error" " Error updating defconfig. One or more configs could not be configured. See above log to check which ones had conflicts."
313
- exit 1
314
- fi
315
- done ;
295
+ if grep -q " Actual value:" " ${LOG_PATH} " /update-config.log; then
296
+ log " error" " Error updating defconfig. See above log to check which configs had conflicts."
297
+ exit 1
298
+ fi
316
299
317
300
popd > /dev/null
318
301
}
0 commit comments