mirror of
https://aur.archlinux.org/zfs-linux.git
synced 2025-06-04 22:57:23 +02:00
Semi-automated update for 4.8.7_1-1
This commit is contained in:
parent
a7f3affe10
commit
a52d49599a
8
.SRCINFO
8
.SRCINFO
@ -1,19 +1,19 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Tue Nov 1 07:24:47 UTC 2016
|
||||
# Fri Nov 11 15:23:02 UTC 2016
|
||||
pkgbase = zfs-linux
|
||||
pkgdesc = Kernel modules for the Zettabyte File System.
|
||||
pkgver = 0.6.5.8_4.8.6_1
|
||||
pkgver = 0.6.5.8_4.8.7_1
|
||||
pkgrel = 1
|
||||
url = http://zfsonlinux.org/
|
||||
install = zfs.install
|
||||
arch = x86_64
|
||||
groups = archzfs-linux
|
||||
license = CDDL
|
||||
makedepends = linux-headers=4.8.6
|
||||
makedepends = linux-headers=4.8.7
|
||||
depends = kmod
|
||||
depends = spl-linux
|
||||
depends = zfs-utils-linux
|
||||
depends = linux=4.8.6
|
||||
depends = linux=4.8.7
|
||||
provides = zfs
|
||||
conflicts = zfs-linux-git
|
||||
conflicts = zfs-linux-lts
|
||||
|
12
PKGBUILD
12
PKGBUILD
@ -15,11 +15,11 @@
|
||||
# archzfs github page.
|
||||
#
|
||||
pkgname="zfs-linux"
|
||||
pkgver=0.6.5.8_4.8.6_1
|
||||
pkgver=0.6.5.8_4.8.7_1
|
||||
pkgrel=1
|
||||
pkgdesc="Kernel modules for the Zettabyte File System."
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.8.6")
|
||||
makedepends=("linux-headers=4.8.6")
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.8.7")
|
||||
makedepends=("linux-headers=4.8.7")
|
||||
arch=("x86_64")
|
||||
url="http://zfsonlinux.org/"
|
||||
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.8/zfs-0.6.5.8.tar.gz")
|
||||
@ -37,8 +37,8 @@ build() {
|
||||
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \
|
||||
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/lib/udev \
|
||||
--libexecdir=/usr/lib/zfs-0.6.5.8 --with-config=kernel \
|
||||
--with-linux=/usr/lib/modules/4.8.6-1-ARCH/build \
|
||||
--with-linux-obj=/usr/lib/modules/4.8.6-1-ARCH/build
|
||||
--with-linux=/usr/lib/modules/4.8.7-1-ARCH/build \
|
||||
--with-linux-obj=/usr/lib/modules/4.8.7-1-ARCH/build
|
||||
make
|
||||
}
|
||||
|
||||
@ -48,5 +48,5 @@ package() {
|
||||
cp -r "${pkgdir}"/{lib,usr}
|
||||
rm -r "${pkgdir}"/lib
|
||||
# Remove reference to ${srcdir}
|
||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.8.6-1-ARCH/Module.symvers
|
||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.8.7-1-ARCH/Module.symvers
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ post_upgrade() {
|
||||
|
||||
check_initramfs() {
|
||||
echo ">>> Updating ZFS module dependencies"
|
||||
depmod -a 4.8.6-1-ARCH
|
||||
depmod -a 4.8.7-1-ARCH
|
||||
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
|
||||
if [[ ${MK_CONF} == '0' ]]; then
|
||||
if [[ $1 == 'remove' ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user