Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed Feb 2, 2024
1 parent faa0230 commit f2e5cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
8 changes: 3 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Maintainer: Philip Müller <philm[at]manjaro[dot]org>

_linuxprefix=linux-xanmod-lts
_extramodules=$(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev)
_kernver="$(cat /usr/src/${_linuxprefix}//build/version)"

pkgname="$_linuxprefix-zfs"
pkgver=2.2.2
pkgrel=61741
pkgrel=61761
pkgdesc='Kernel modules for the Zettabyte File System.'
arch=('x86_64')
url="http://zfsonlinux.org/"
Expand All @@ -18,13 +18,11 @@ provides=("zfs=${pkgver}" "ZFS-MODULE=${pkgver}")
options=('!strip')

build() {
_kernver=$(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev)
fakeroot dkms build --dkmstree "${srcdir}" -m zfs/${pkgver} -k ${_kernver}
}

package() {
_kernver=$(find /usr/lib/modules -type d -iname 6.1.74*xanmod* | rev | cut -d "/" -f1 | rev)
install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 zfs/${pkgver}/${_kernver}/${CARCH}/module/*
install -Dt "${pkgdir}/usr/lib/modules/${_kernver}/extramodules" -m644 zfs/${pkgver}/${_kernver}/${CARCH}/module/*

# compress each module individually
find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
Expand Down
13 changes: 0 additions & 13 deletions zfs.install

This file was deleted.

0 comments on commit f2e5cbc

Please sign in to comment.