summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArchzfs Buildbot2018-09-08 10:26:00 +0000
committerArchzfs Buildbot2018-09-08 10:26:00 +0000
commit2719c6cf291ef2fe8a0bfce08c1c1012921db7d9 (patch)
tree486b4ff88cd90e8b7afedee4b60baee848f0cd69
parent9cc4bcd561d60ee12db6a73cc4d20e9d2207a588 (diff)
downloadaur-2719c6cf291ef2fe8a0bfce08c1c1012921db7d9.tar.gz
Semi-automated update for zfs 0.7.10
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
-rw-r--r--zfs-utils.initcpio.hook8
-rw-r--r--zfs-utils.initcpio.install2
4 files changed, 23 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 284f5bc70eb2..e4bdbdb8c215 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zfs-utils-common
pkgdesc = Kernel module support files for the Zettabyte File System.
- pkgver = 0.7.9
- pkgrel = 2
+ pkgver = 0.7.10
+ pkgrel = 1
url = http://zfsonlinux.org/
install = zfs-utils.install
arch = x86_64
@@ -17,14 +17,16 @@ pkgbase = zfs-utils-common
replaces = zfs-utils-linux-lts
backup = etc/zfs/zed.d/zed.rc
backup = etc/default/zfs
- source = https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.9/zfs-0.7.9.tar.gz
+ source = https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.10/zfs-0.7.10.tar.gz
source = zfs-utils.bash-completion-r1
source = zfs-utils.initcpio.install
source = zfs-utils.initcpio.hook
- sha256sums = f50ca2441c6abde4fe6b9f54d5583a45813031d6bb72b0011b00fc2683cd9f7a
+ source = zfs-utils.initcpio.zfsencryptssh.install
+ sha256sums = 9343650175ccba2f61379c7dbc66ecbda1059e1ff95bc1fe6be4f33628cce477
sha256sums = b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540
- sha256sums = 335e309ebf5b74fd8956f5e8805939c37d4008b0bcc3b00be6e7ef1d5b7c1669
- sha256sums = 3eb874cf2cbb6c6a0e1c11a98af54f682d6225667af944b43435aeabafa0112f
+ sha256sums = 6e5e905a322d0426acdcbc05c5651ec78ee7b874b96d3c429c80f68b061170c5
+ sha256sums = ae1cda85de0ad8b9ec8158a66d02485f3d09c37fb13b1567367220a720bcc9a5
+ sha256sums = 29080a84e5d7e36e63c4412b98646043724621245b36e5288f5fed6914da5b68
pkgname = zfs-utils-common
diff --git a/PKGBUILD b/PKGBUILD
index d6fa65aba269..a60796eea0cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,22 +7,22 @@
#
pkgname="zfs-utils-common"
-pkgver=0.7.9
-pkgrel=2
+pkgver=0.7.10
+pkgrel=1
pkgdesc="Kernel module support files for the Zettabyte File System."
depends=()
makedepends=()
arch=("x86_64")
url="http://zfsonlinux.org/"
-source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.9/zfs-0.7.9.tar.gz"
+source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz"
"zfs-utils.bash-completion-r1"
"zfs-utils.initcpio.install"
"zfs-utils.initcpio.hook"
"zfs-utils.initcpio.zfsencryptssh.install")
-sha256sums=("f50ca2441c6abde4fe6b9f54d5583a45813031d6bb72b0011b00fc2683cd9f7a"
+sha256sums=("9343650175ccba2f61379c7dbc66ecbda1059e1ff95bc1fe6be4f33628cce477"
"b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540"
- "335e309ebf5b74fd8956f5e8805939c37d4008b0bcc3b00be6e7ef1d5b7c1669"
- "60ca3ce382c404c1c97873d6a352d0e99b28e948fde4e3f67d92e05f6eb216f0"
+ "6e5e905a322d0426acdcbc05c5651ec78ee7b874b96d3c429c80f68b061170c5"
+ "ae1cda85de0ad8b9ec8158a66d02485f3d09c37fb13b1567367220a720bcc9a5"
"29080a84e5d7e36e63c4412b98646043724621245b36e5288f5fed6914da5b68")
license=("CDDL")
groups=("archzfs-linux")
@@ -33,17 +33,17 @@ replaces=("zfs-utils-linux", "zfs-utils-linux-lts")
backup=('etc/zfs/zed.d/zed.rc' 'etc/default/zfs')
build() {
- cd "${srcdir}/zfs-0.7.9"
+ cd "${srcdir}/zfs-${pkgver}"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --with-mounthelperdir=/usr/bin \
--libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include \
- --with-udevdir=/lib/udev --libexecdir=/usr/lib/zfs-0.7.9 \
+ --with-udevdir=/lib/udev --libexecdir=/usr/lib/zfs-${pkgver} \
--with-config=user --enable-systemd
make
}
package() {
- cd "${srcdir}/zfs-0.7.9"
+ cd "${srcdir}/zfs-${pkgver}"
make DESTDIR="${pkgdir}" install
# Remove uneeded files
rm -r "${pkgdir}"/etc/init.d
diff --git a/zfs-utils.initcpio.hook b/zfs-utils.initcpio.hook
index bf9c6dc252f5..b47cc2849c9e 100644
--- a/zfs-utils.initcpio.hook
+++ b/zfs-utils.initcpio.hook
@@ -60,7 +60,8 @@ zfs_mount_handler () {
# Lets import everything and try again
zpool import ${ZPOOL_IMPORT_FLAGS} -N -a ${ZPOOL_FORCE}
if ! zfs_get_bootfs ; then
- die "ZFS: Cannot find bootfs."
+ err "ZFS: Cannot find bootfs."
+ exit 1
fi
fi
fi
@@ -77,7 +78,8 @@ zfs_mount_handler () {
fi
if ! zpool import ${ZPOOL_IMPORT_FLAGS} -N "${pool}" ${ZPOOL_FORCE} ; then
- die "ZFS: Unable to import pool ${pool}."
+ err "ZFS: Unable to import pool ${pool}."
+ exit 1
fi
fi
@@ -117,7 +119,7 @@ set_flags() {
# Add import directory to import command flags
[ ! "${zfs_import_dir}" = "" ] && ZPOOL_IMPORT_FLAGS="${ZPOOL_IMPORT_FLAGS} -d ${zfs_import_dir}"
- [ "${zfs_import_dir}" = "" ] && [ -f /etc/zfs/zpool.cache ] && ZPOOL_IMPORT_FLAGS="${ZPOOL_IMPORT_FLAGS} -c /etc/zfs/zpool.cache"
+ [ "${zfs_import_dir}" = "" ] && [ -f /etc/zfs/zpool.cache.org ] && ZPOOL_IMPORT_FLAGS="${ZPOOL_IMPORT_FLAGS} -c /etc/zfs/zpool.cache.org"
}
run_hook() {
diff --git a/zfs-utils.initcpio.install b/zfs-utils.initcpio.install
index c3d5a9860aae..8b646a101a04 100644
--- a/zfs-utils.initcpio.install
+++ b/zfs-utils.initcpio.install
@@ -41,7 +41,7 @@ build() {
# allow mount(8) to "autodetect" ZFS
echo 'zfs' >>"${BUILDROOT}/etc/filesystems"
- [[ -f /etc/zfs/zpool.cache ]] && add_file "/etc/zfs/zpool.cache"
+ [[ -f /etc/zfs/zpool.cache ]] && cp "/etc/zfs/zpool.cache" "${BUILDROOT}/etc/zfs/zpool.cache.org"
[[ -f /etc/modprobe.d/zfs.conf ]] && add_file "/etc/modprobe.d/zfs.conf"
}