kernel image files use standard flavor

This commit is contained in:
amazingfate
2023-08-09 16:05:04 +08:00
committed by Jianfeng Liu
parent 13ed5c0d62
commit ecac08cc8e
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ function prepare_kernel_packaging_debs() {
declare debs_target_dir="${kernel_work_dir}/.."
# Some variables and settings used throughout the script
declare kernel_version_family="${kernel_version}-${LINUXFAMILY}"
declare kernel_version_family="${kernel_version}-${BRANCH}-${LINUXFAMILY}"
# Package version. Affects users upgrading from repo!
display_alert "Kernel .deb package version" "${artifact_version}" "info"

View File

@@ -40,7 +40,7 @@ function run_kernel_make_internal() {
"${DISTCC_MAKE_J_PARALLEL[@]}" # Parallel compile, "-j X" for X cpus; determined by distcc, or is just "$CTHREADS" if distcc is not enabled.
"ARCH=${ARCHITECTURE}" # Key param. Everything depends on this.
"LOCALVERSION=-${LINUXFAMILY}" # Change the internal kernel version to include the family. Changing this causes recompiles # @TODO change hack at .config; that might handles mtime better
"LOCALVERSION=-${BRANCH}-${LINUXFAMILY}" # Change the internal kernel version to include the family. Changing this causes recompiles # @TODO change hack at .config; that might handles mtime better
"CROSS_COMPILE=${CCACHE} ${DISTCC_CROSS_COMPILE_PREFIX[@]} ${KERNEL_COMPILER}" # added as prefix to every compiler invocation by make
"KCFLAGS=-fdiagnostics-color=always -Wno-error=misleading-indentation ${KERNEL_EXTRA_CFLAGS:-""}" # Force GCC colored messages, downgrade misleading indentation to warning