summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-22 21:52:57 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-30 20:53:42 -0700
commitb0c6076e0f64f1a8a798b1f7b2b74a180f7eb5e8 (patch)
tree21d5f31c87803c5c8c495ff1664b6a39ed36288d /sys-fs/zfs/files
parentsys-fs/zfs-kmod: rework live ebuild (diff)
downloadgentoo-b0c6076e0f64f1a8a798b1f7b2b74a180f7eb5e8.tar.gz
gentoo-b0c6076e0f64f1a8a798b1f7b2b74a180f7eb5e8.tar.bz2
gentoo-b0c6076e0f64f1a8a798b1f7b2b74a180f7eb5e8.zip
sys-fs/zfs: rework live ebuild
major rework bump eapi to 7 add multi-python pyzfs installation behind python useflag use provided systemd unit, since upstream systemd handling changed use upstream bash-completion (with local patch) fix sed->zed typo in postinst code Closes: https://bugs.gentoo.org/548856 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs/files')
-rw-r--r--sys-fs/zfs/files/bash-completion-sudo.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-fs/zfs/files/bash-completion-sudo.patch b/sys-fs/zfs/files/bash-completion-sudo.patch
new file mode 100644
index 000000000000..8ae9d25d2761
--- /dev/null
+++ b/sys-fs/zfs/files/bash-completion-sudo.patch
@@ -0,0 +1,35 @@
+From 3829d0b867f6aa4bde8798147dee74a86435d12c Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev <gyakovlev@gentoo.org>
+Date: Fri, 22 Mar 2019 22:04:40 -0700
+Subject: [PATCH] contrib/bash_completion.d/zfs: remove sudo reference
+
+---
+ contrib/bash_completion.d/zfs | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/contrib/bash_completion.d/zfs b/contrib/bash_completion.d/zfs
+index 914db43c..b1aded36 100644
+--- a/contrib/bash_completion.d/zfs
++++ b/contrib/bash_completion.d/zfs
+@@ -21,13 +21,13 @@
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ # OTHER DEALINGS IN THE SOFTWARE.
+
+-if [[ -w /dev/zfs ]]; then
++#if [[ -w /dev/zfs ]]; then
+ __ZFS_CMD="zfs"
+ __ZPOOL_CMD="zpool"
+-else
+- __ZFS_CMD="sudo zfs"
+- __ZPOOL_CMD="sudo zpool"
+-fi
++#else
++# __ZFS_CMD="sudo zfs"
++# __ZPOOL_CMD="sudo zpool"
++#fi
+
+ __zfs_get_commands()
+ {
+--
+2.21.0
+