mirror of
https://aur.archlinux.org/zfs-linux.git
synced 2025-06-06 07:37:23 +02:00
Semi-automated update for 4.8.12_3-1
This commit is contained in:
parent
51209f8176
commit
70747743e0
4
.SRCINFO
4
.SRCINFO
@ -1,8 +1,8 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Wed Dec 7 07:17:36 UTC 2016
|
||||
# Sat Dec 10 19:11:31 UTC 2016
|
||||
pkgbase = zfs-linux
|
||||
pkgdesc = Kernel modules for the Zettabyte File System.
|
||||
pkgver = 0.6.5.8_4.8.12_2
|
||||
pkgver = 0.6.5.8_4.8.12_3
|
||||
pkgrel = 1
|
||||
url = http://zfsonlinux.org/
|
||||
install = zfs.install
|
||||
|
8
PKGBUILD
8
PKGBUILD
@ -15,7 +15,7 @@
|
||||
# archzfs github page.
|
||||
#
|
||||
pkgname="zfs-linux"
|
||||
pkgver=0.6.5.8_4.8.12_2
|
||||
pkgver=0.6.5.8_4.8.12_3
|
||||
pkgrel=1
|
||||
pkgdesc="Kernel modules for the Zettabyte File System."
|
||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.8.12")
|
||||
@ -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.12-2-ARCH/build \
|
||||
--with-linux-obj=/usr/lib/modules/4.8.12-2-ARCH/build
|
||||
--with-linux=/usr/lib/modules/4.8.12-3-ARCH/build \
|
||||
--with-linux-obj=/usr/lib/modules/4.8.12-3-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.12-2-ARCH/Module.symvers
|
||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.8.12-3-ARCH/Module.symvers
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ post_upgrade() {
|
||||
|
||||
check_initramfs() {
|
||||
echo ">>> Updating ZFS module dependencies"
|
||||
depmod -a 4.8.12-2-ARCH
|
||||
depmod -a 4.8.12-3-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