mirror of
https://aur.archlinux.org/zfs-linux.git
synced 2025-06-06 07:37:23 +02:00
Semi-automated update for 0.6.5.7_4.6.2_1-1
This commit is contained in:
parent
3002cac040
commit
80e3b64df6
8
.SRCINFO
8
.SRCINFO
@ -1,19 +1,19 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Thu Jun 9 01:11:36 UTC 2016
|
||||
# Fri Jun 10 05:14:15 UTC 2016
|
||||
pkgbase = zfs-linux
|
||||
pkgdesc = Kernel modules for the Zettabyte File System.
|
||||
pkgver = 0.6.5.7_4.6.1_2
|
||||
pkgver = 0.6.5.7_4.6.2_1
|
||||
pkgrel = 1
|
||||
url = http://zfsonlinux.org/
|
||||
install = zfs.install
|
||||
arch = x86_64
|
||||
groups = archzfs-linux
|
||||
license = CDDL
|
||||
makedepends = linux-headers=4.6.1
|
||||
makedepends = linux-headers=4.6.2
|
||||
depends = kmod
|
||||
depends = spl-linux
|
||||
depends = zfs-utils-linux
|
||||
depends = linux=4.6.1
|
||||
depends = linux=4.6.2
|
||||
provides = zfs
|
||||
replaces = zfs-git
|
||||
source = http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.5.7.tar.gz
|
||||
|
10
PKGBUILD
10
PKGBUILD
@ -15,11 +15,11 @@
|
||||
# archzfs github page.
|
||||
#
|
||||
pkgname="zfs-linux"
|
||||
pkgver=0.6.5.7_4.6.1_2
|
||||
pkgver=0.6.5.7_4.6.2_1
|
||||
pkgrel=1
|
||||
pkgdesc="Kernel modules for the Zettabyte File System."
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.6.1")
|
||||
makedepends=("linux-headers=4.6.1")
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.6.2")
|
||||
makedepends=("linux-headers=4.6.2")
|
||||
arch=("x86_64")
|
||||
url="http://zfsonlinux.org/"
|
||||
source=("http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.5.7.tar.gz")
|
||||
@ -36,7 +36,7 @@ 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.7 --with-config=kernel \
|
||||
--with-linux=/usr/lib/modules/4.6.1-2-ARCH/build
|
||||
--with-linux=/usr/lib/modules/4.6.2-1-ARCH/build
|
||||
make
|
||||
}
|
||||
|
||||
@ -46,5 +46,5 @@ package() {
|
||||
cp -r "${pkgdir}"/{lib,usr}
|
||||
rm -r "${pkgdir}"/lib
|
||||
# Remove reference to ${srcdir}
|
||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.6.1-2-ARCH/Module.symvers
|
||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.6.2-1-ARCH/Module.symvers
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ post_upgrade() {
|
||||
|
||||
check_initramfs() {
|
||||
echo ">>> Updating ZFS module dependencies"
|
||||
depmod -a 4.6.1-2-ARCH
|
||||
depmod -a 4.6.2-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