From 4e9e0e26f1a4f004d782fd2cb367491085d087f7 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 17 Feb 2018 18:19:12 +0100 Subject: [PATCH] Fix local version name in linux_modules Signed-off-by: David Oberhollenzer --- pkg/linux_modules/build | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/linux_modules/build b/pkg/linux_modules/build index 903449f..0cbec61 100755 --- a/pkg/linux_modules/build +++ b/pkg/linux_modules/build @@ -9,6 +9,7 @@ build() { make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" CROSS_COMPILE="${TARGET}-" oldconfig sed -i "$PKGBUILDDIR/.config" -e 's,^CONFIG_CROSS_COMPILE=.*,CONFIG_CROSS_COMPILE="'$TARGET'-",' + sed -i "$PKGBUILDDIR/.config" -e 's,^CONFIG_LOCALVERSION=.*,CONFIG_LOCALVERSION="-'${OS_NAME}-${OS_RELEASE}'",' make -C "$1" O="$PKGBUILDDIR" ARCH="$LINUX_CPU" CROSS_COMPILE="${TARGET}-" -j $NUMJOBS modules }