Révision 8c4d5de5
Ajouté par Ermal il y a presque 10 ans
builder_scripts/builder_common.sh | ||
---|---|---|
281 | 281 |
export KERNEL_NAME=$(echo ${BUILD_KERNEL} | sed -e 's/pfSense_//; s/\.[0-9].*$//') |
282 | 282 |
else |
283 | 283 |
export KERNEL_NAME=${KERNEL_INSTALL_NAME} |
284 |
unset KERNEL_INSTALL_NAME |
|
284 | 285 |
fi |
285 | 286 |
|
286 | 287 |
if [ -n "${NO_BUILDKERNEL:-}" -a -f $KERNEL_BUILD_PATH/kernels/kernel_${KERNEL_NAME}.gz ]; then |
... | ... | |
332 | 333 |
export KERNEL_NAME=$(echo ${1} | sed -e 's/pfSense_//; s/\.[0-9].*$//') |
333 | 334 |
else |
334 | 335 |
export KERNEL_NAME=${KERNEL_INSTALL_NAME} |
336 |
unset KERNEL_INSTALL_NAME |
|
335 | 337 |
fi |
336 | 338 |
|
337 | 339 |
echo -n ">>> Installing kernel to be used by image ${KERNEL_NAME}..." | tee -a ${LOGFILE} |
Formats disponibles : Unified diff
Also unset this var to avoid problems with multiple kernel configs