summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-23 17:53:29 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-23 17:53:41 -0700
commit4f9ccbf688a6cd55a051f50f7565715ff80c6b70 (patch)
tree076322cc7f43fa22c8d6822875d8b4ae9f058bc4 /sys-fs
parentnet-misc/curl: stable on amd64, bug #686050 (diff)
downloadgentoo-4f9ccbf688a6cd55a051f50f7565715ff80c6b70.tar.gz
gentoo-4f9ccbf688a6cd55a051f50f7565715ff80c6b70.tar.bz2
gentoo-4f9ccbf688a6cd55a051f50f7565715ff80c6b70.zip
sys-fs/zfs: backport revision number to 0.8.0
no revbump, users will see consistent version strings zfs -V zfs-0.8.0-r0-gentoo zfs-kmod-0.8.0-r0-gentoo Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs/zfs-0.8.0.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-fs/zfs/zfs-0.8.0.ebuild b/sys-fs/zfs/zfs-0.8.0.ebuild
index b128cd4729d0..129f34845447 100644
--- a/sys-fs/zfs/zfs-0.8.0.ebuild
+++ b/sys-fs/zfs/zfs-0.8.0.ebuild
@@ -98,7 +98,12 @@ pkg_setup() {
src_prepare() {
default
- [[ ${PV} == "9999" ]] && eautoreconf
+ if [[ ${PV} == "9999" ]]; then
+ eautoreconf
+ else
+ # Set revision number
+ sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release"
+ fi
# Update paths
sed -e "s|/sbin/lsmod|/bin/lsmod|" \
@@ -174,7 +179,6 @@ pkg_postinst() {
einfo "genkernel version 3.5.3.3 and earlier does NOT support"
einfo " unlocking pools with native zfs encryption enabled at boot"
einfo " use dracut or genkernel-9999 if you requre this functionality"
- einfo
fi
if ! use kernel-builtin && [[ ${PV} = "9999" ]]; then