diff options
author | Eggz | 2024-01-03 10:07:26 +0100 |
---|---|---|
committer | Eggz | 2024-01-03 10:07:26 +0100 |
commit | 2f3a01e28bdf40cc931063d2531eac546576d62a (patch) | |
tree | 990124f1e2b2d05bae6d5417c577c5614f7d5924 | |
parent | 414ddf71d305b97be1c432c32e06dae8795deb71 (diff) | |
download | aur-2f3a01e28bdf40cc931063d2531eac546576d62a.tar.gz |
remove extra kernelcopy and docs package
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 3 insertions, 22 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-amd-znver3 pkgver = 6.6.v.9 - pkgrel = 1 + pkgrel = 2 url = https://www.kernel.org/ arch = x86_64 license = GPL2 @@ -36,6 +36,3 @@ pkgname = linux-amd-znver3 pkgname = linux-amd-znver3-headers pkgdesc = Header files and scripts for building modules for the linux-amd-znver3 kernel - -pkgname = linux-amd-znver3-docs - pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux kernel @@ -6,7 +6,7 @@ gitver=v6.6.9 patchver=20230105 patchname=more-uarches-for-kernel-5.17+.patch pkgver=6.6.v.9 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://www.kernel.org/" license=('GPL2') @@ -95,7 +95,6 @@ _package() { mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install - cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" # install mkinitcpio preset file for kernel install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" @@ -209,22 +208,7 @@ _package-headers() { } -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel" - - cd "${_srcname}" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build" - cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build" - find "${pkgdir}" -type f -exec chmod 444 {} \; - find "${pkgdir}" -type d -exec chmod 755 {} \; - - # remove a file already in linux package - rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile" - -} - -pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") +pkgname=("${pkgbase}" "${pkgbase}-headers") for _p in ${pkgname[@]}; do eval "package_${_p}() { $(declare -f "_package${_p#${pkgbase}}") |