mirror of
https://aur.archlinux.org/zfs-linux.git
synced 2025-06-06 15:47:21 +02:00
Semi-automated update for 4.7.2_1-6
This commit is contained in:
parent
ab67da5983
commit
575b30a8c6
14
.SRCINFO
14
.SRCINFO
@ -1,23 +1,23 @@
|
|||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Fri Jul 15 15:21:51 UTC 2016
|
# Tue Sep 13 04:52:18 UTC 2016
|
||||||
pkgbase = zfs-linux
|
pkgbase = zfs-linux
|
||||||
pkgdesc = Kernel modules for the Zettabyte File System.
|
pkgdesc = Kernel modules for the Zettabyte File System.
|
||||||
pkgver = 0.6.5.7_4.6.4_1
|
pkgver = 0.6.5.8_4.7.2_1
|
||||||
pkgrel = 1
|
pkgrel = 6
|
||||||
url = http://zfsonlinux.org/
|
url = http://zfsonlinux.org/
|
||||||
install = zfs.install
|
install = zfs.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
groups = archzfs-linux
|
groups = archzfs-linux
|
||||||
license = CDDL
|
license = CDDL
|
||||||
makedepends = linux-headers=4.6.4
|
makedepends = linux-headers=4.7.2
|
||||||
depends = kmod
|
depends = kmod
|
||||||
depends = spl-linux
|
depends = spl-linux
|
||||||
depends = zfs-utils-linux
|
depends = zfs-utils-linux
|
||||||
depends = linux=4.6.4
|
depends = linux=4.7.2
|
||||||
provides = zfs
|
provides = zfs
|
||||||
replaces = zfs-git
|
replaces = zfs-git
|
||||||
source = http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.5.7.tar.gz
|
source = https://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.8/zfs-0.6.5.8.tar.gz
|
||||||
sha256sums = 4a9e271bb9a6af8d564e4d5800e4fff36224f1697b923a7253659bdda80dc590
|
sha256sums = d77f43f7dc38381773e2c34531954c52f3de80361b7bb10c933a7482f89cfe84
|
||||||
|
|
||||||
pkgname = zfs-linux
|
pkgname = zfs-linux
|
||||||
|
|
||||||
|
24
PKGBUILD
24
PKGBUILD
@ -15,15 +15,15 @@
|
|||||||
# archzfs github page.
|
# archzfs github page.
|
||||||
#
|
#
|
||||||
pkgname="zfs-linux"
|
pkgname="zfs-linux"
|
||||||
pkgver=0.6.5.7_4.6.4_1
|
pkgver=0.6.5.8_4.7.2_1
|
||||||
pkgrel=1
|
pkgrel=6
|
||||||
pkgdesc="Kernel modules for the Zettabyte File System."
|
pkgdesc="Kernel modules for the Zettabyte File System."
|
||||||
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.6.4")
|
depends=("kmod" "spl-linux" "zfs-utils-linux" "linux=4.7.2")
|
||||||
makedepends=("linux-headers=4.6.4")
|
makedepends=("linux-headers=4.7.2")
|
||||||
arch=("x86_64")
|
arch=("x86_64")
|
||||||
url="http://zfsonlinux.org/"
|
url="http://zfsonlinux.org/"
|
||||||
source=("http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.5.7.tar.gz")
|
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.8/zfs-0.6.5.8.tar.gz")
|
||||||
sha256sums=("4a9e271bb9a6af8d564e4d5800e4fff36224f1697b923a7253659bdda80dc590")
|
sha256sums=("d77f43f7dc38381773e2c34531954c52f3de80361b7bb10c933a7482f89cfe84")
|
||||||
groups=("archzfs-linux")
|
groups=("archzfs-linux")
|
||||||
license=("CDDL")
|
license=("CDDL")
|
||||||
install=zfs.install
|
install=zfs.install
|
||||||
@ -31,21 +31,21 @@ provides=("zfs")
|
|||||||
replaces=("zfs-git")
|
replaces=("zfs-git")
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/zfs-0.6.5.7"
|
cd "${srcdir}/zfs-0.6.5.8"
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \
|
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libdir=/usr/lib \
|
||||||
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/lib/udev \
|
--datadir=/usr/share --includedir=/usr/include --with-udevdir=/lib/udev \
|
||||||
--libexecdir=/usr/lib/zfs-0.6.5.7 --with-config=kernel \
|
--libexecdir=/usr/lib/zfs-0.6.5.8 --with-config=kernel \
|
||||||
--with-linux=/usr/lib/modules/4.6.4-1-ARCH/build \
|
--with-linux=/usr/lib/modules/4.7.2-1-ARCH/build \
|
||||||
--with-linux-obj=/usr/lib/modules/4.6.4-1-ARCH/build
|
--with-linux-obj=/usr/lib/modules/4.7.2-1-ARCH/build
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/zfs-0.6.5.7"
|
cd "${srcdir}/zfs-0.6.5.8"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
cp -r "${pkgdir}"/{lib,usr}
|
cp -r "${pkgdir}"/{lib,usr}
|
||||||
rm -r "${pkgdir}"/lib
|
rm -r "${pkgdir}"/lib
|
||||||
# Remove reference to ${srcdir}
|
# Remove reference to ${srcdir}
|
||||||
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.6.4-1-ARCH/Module.symvers
|
sed -i "s+${srcdir}++" ${pkgdir}/usr/src/zfs-*/4.7.2-1-ARCH/Module.symvers
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ post_upgrade() {
|
|||||||
|
|
||||||
check_initramfs() {
|
check_initramfs() {
|
||||||
echo ">>> Updating ZFS module dependencies"
|
echo ">>> Updating ZFS module dependencies"
|
||||||
depmod -a 4.6.4-1-ARCH
|
depmod -a 4.7.2-1-ARCH
|
||||||
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
|
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
|
||||||
if [[ ${MK_CONF} == '0' ]]; then
|
if [[ ${MK_CONF} == '0' ]]; then
|
||||||
if [[ $1 == 'remove' ]]; then
|
if [[ $1 == 'remove' ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user