diff options
author | graysky | 2020-06-12 05:19:56 -0400 |
---|---|---|
committer | graysky | 2020-06-12 05:19:56 -0400 |
commit | 30759d8df573d5aea25106ce82f922f1e9f4a261 (patch) | |
tree | a5a5a9ede9830914238522bf297f9ac9d83106f5 /PKGBUILD | |
parent | 2b6a356337429a433f3cc364ed071a8d29e44397 (diff) | |
download | aur-30759d8df573d5aea25106ce82f922f1e9f4a261.tar.gz |
Update to 5.7.2-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -65,13 +65,13 @@ _localmodcfg= pkgbase=linux-ck pkgver=5.7.2 -pkgrel=1 +pkgrel=2 _ckpatchversion=1 arch=(x86_64) url="https://wiki.archlinux.org/index.php/Linux-ck" license=(GPL2) makedepends=( - bc kmod libelf pahole + bc kmod libelf ) options=('!strip') _ckpatch="patch-5.7-ck${_ckpatchversion}" @@ -136,6 +136,11 @@ prepare() { # fix naming schema in EXTRAVERSION of ck patch set sed -i -re "s/^(.EXTRAVERSION).*$/\1 = /" "../${_ckpatch}" + # disable CONFIG_DEBUG_INFO=y at build time introduced in this commit + # https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=663b08666b269eeeeaafbafaee07fd03389ac8d7 + sed -i -e 's/CONFIG_DEBUG_INFO=y/# CONFIG_DEBUG_INFO is not set/' \ + -i -e '/CONFIG_DEBUG_INFO_DWARF4=y/d' -i -e '/CONFIG_DEBUG_INFO_BTF=y/d' ./.config + echo "Patching with ck patchset..." # ck patchset itself @@ -210,7 +215,10 @@ _package() { echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" echo "Installing modules..." - make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install + #make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install + # not needed since not building with CONFIG_DEBUG_INFO=y + + make INSTALL_MOD_PATH="$pkgdir/usr" modules_install # remove build and source links rm "$modulesdir"/{source,build} @@ -289,8 +297,9 @@ _package-headers() { esac done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0) - echo "Stripping vmlinux..." - strip -v $STRIP_STATIC "$builddir/vmlinux" + #echo "Stripping vmlinux..." + #strip -v $STRIP_STATIC "$builddir/vmlinux" + # not needed since not building with CONFIG_DEBUG_INFO=y echo "Adding symlink..." mkdir -p "$pkgdir/usr/src" |