mirror of
https://aur.archlinux.org/zfs-linux.git
synced 2025-06-06 15:47:21 +02:00
Semi-automated update for 4.10.3_1-1
This commit is contained in:
parent
07eec94795
commit
3a0a263bad
8
.SRCINFO
8
.SRCINFO
@ -1,19 +1,19 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Tue Mar 14 18:32:40 UTC 2017
|
||||
# Fri Mar 17 20:24:23 UTC 2017
|
||||
pkgbase = zfs-linux
|
||||
pkgdesc = Kernel modules for the Zettabyte File System.
|
||||
pkgver = 0.6.5.9_4.10.2_1
|
||||
pkgver = 0.6.5.9_4.10.3_1
|
||||
pkgrel = 1
|
||||
url = http://zfsonlinux.org/
|
||||
install = zfs.install
|
||||
arch = x86_64
|
||||
groups = archzfs-linux
|
||||
license = CDDL
|
||||
makedepends = linux-headers=4.10.2-1
|
||||
makedepends = linux-headers=4.10.3-1
|
||||
depends = kmod
|
||||
depends = spl-linux
|
||||
depends = zfs-utils-linux
|
||||
depends = linux=4.10.2-1
|
||||
depends = linux=4.10.3-1
|
||||
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.9_4.10.2_1
|
||||
pkgver=0.6.5.9_4.10.3_1
|
||||
pkgrel=1
|
||||
pkgdesc="Kernel modules for the Zettabyte File System."
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.10.2-1")
|
||||
makedepends=("linux-headers=4.10.2-1")
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.10.3-1")
|
||||
makedepends=("linux-headers=4.10.3-1")
|
||||
arch=("x86_64")
|
||||
url="http://zfsonlinux.org/"
|
||||
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.9/zfs-0.6.5.9.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.9 --with-config=kernel \
|
||||
--with-linux=/usr/lib/modules/4.10.2-1-ARCH/build \
|
||||
--with-linux-obj=/usr/lib/modules/4.10.2-1-ARCH/build
|
||||
--with-linux=/usr/lib/modules/4.10.3-1-ARCH/build \
|
||||
--with-linux-obj=/usr/lib/modules/4.10.3-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.10.2-1-ARCH/Module.symvers
|
||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.10.3-1-ARCH/Module.symvers
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ post_upgrade() {
|
||||
|
||||
check_initramfs() {
|
||||
echo ">>> Updating ZFS module dependencies"
|
||||
depmod -a 4.10.2-1-ARCH
|
||||
depmod -a 4.10.3-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