From 11d53cb13e7619149b91e7bf2e9579359f6659fc Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Fri, 8 Sep 2017 00:29:15 +0200 Subject: [PATCH] linux-postmarketos: change kernel suffix to -postmarketOS (fixes #497) (#521) See https://github.com/postmarketOS/pmbootstrap/pull/521#issuecomment-327919994 for an explanation, why we didn't touch CONFIG_LOCALVERSION instead. --- main/linux-postmarketos/APKBUILD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/main/linux-postmarketos/APKBUILD b/main/linux-postmarketos/APKBUILD index 9c4589836..f37fa2df3 100644 --- a/main/linux-postmarketos/APKBUILD +++ b/main/linux-postmarketos/APKBUILD @@ -18,7 +18,7 @@ case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=$pkgver;; esac -pkgrel=0 +pkgrel=1 arch="all" pkgdesc="Mainline Linux for pmOS supported chipsets (OMAP)" @@ -102,9 +102,8 @@ build() { cd "$srcdir"/build unset LDFLAGS make ARCH="$_carch" CC="${CC:-gcc}" \ - KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \ - CFLAGS_MODULE=-fno-pic \ - || return 1 + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \ + CFLAGS_MODULE=-fno-pic } package() {