mirror_zfs/config
Stoiko Ivanov db5c3b4c76 contrib: bash_completion.d: make install destination vendor dependent
Certain Linux distributions (Debian/Ubuntu at least) expect
bash-completion snippets to be installed in
/usr/share/bash-completion/completions instead of
/etc/bash_completion.d.

This patch sets the bashcompletiondir variable based on the vendor,
inspired by similar settings for initdir and initconfdir.

It seems that commit 612b8dff5b
caused the file to be installed in the first-place (thus the error
when building debian packages only became apparent when testing a
2.2.0-rc4 build)

The change only sets the variable in Makefile context - the
rpm/zfs.spec.in file has the path hardcoded as
%{_sysconfdir}/bash_completion.d/zfs, but since running
```
./configure --sysconfdir=/myetc  ; make rpm
```
also results in all relevant files to be installed in /etc instead of
/myetc I assume this can remain as is.

Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Closes #15304
2023-10-03 09:06:07 -07:00
..
.gitignore
always-arch.m4
always-compiler-options.m4
always-cppcheck.m4
always-parallel.m4
always-python.m4
always-pyzfs.m4
always-sed.m4
always-shellcheck.m4
always-system.m4
ax_code_coverage.m4
ax_count_cpus.m4
ax_python_devel.m4
ax_restore_flags.m4
ax_save_flags.m4
config.rpath
CppCheck.am
deb.am
find_system_library.m4
gettext.m4
host-cpu-c-abi.m4
iconv.m4
intlmacosx.m4
kernel-access-ok-type.m4
kernel-acl.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-add-disk.m4
kernel-aio-fsync.m4
kernel-automount.m4
kernel-bdi.m4
kernel-bio_max_segs.m4
kernel-bio.m4
kernel-blk-queue.m4
kernel-blkdev.m4 Linux 6.5 compat: blkdev changes 2023-09-19 08:50:01 -07:00
kernel-block-device-operations.m4 Linux 6.5 compat: blkdev changes 2023-09-19 08:50:01 -07:00
kernel-clear-inode.m4
kernel-commit-metadata.m4
kernel-config-defined.m4
kernel-copy-from-user-inatomic.m4
kernel-cpu_has_feature.m4
kernel-current-time.m4
kernel-declare-event-class.m4
kernel-dentry-alias.m4
kernel-dentry-operations.m4
kernel-dirty-inode.m4
kernel-discard-granularity.m4
kernel-encode-fh-inode.m4
kernel-evict-inode.m4
kernel-fadvise.m4
kernel-fallocate.m4
kernel-file-dentry.m4
kernel-file-inode.m4
kernel-filemap-splice-read.m4 Linux 6.5 compat: Use copy_splice_read instead of filemap_splice_read 2023-09-19 08:50:01 -07:00
kernel-filemap.m4
kernel-flush_dcache_page.m4
kernel-fmode-t.m4
kernel-follow-down-one.m4
kernel-fpu.m4
kernel-fst-mount.m4
kernel-fsync.m4
kernel-generic_fadvise.m4
kernel-generic_fillattr.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-generic_io_acct.m4
kernel-generic_readlink.m4
kernel-genhd-flags.m4
kernel-get-disk-ro.m4
kernel-get-link.m4
kernel-global_page_state.m4
kernel-group-info.m4
kernel-hotplug.m4
kernel-iattr-vfsid.m4
kernel-idmap_mnt_api.m4
kernel-in-compat-syscall.m4
kernel-inode-create.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-inode-getattr.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-inode-lock.m4
kernel-inode-lookup.m4
kernel-inode-permission.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-inode-set-flags.m4
kernel-inode-set-iversion.m4
kernel-inode-setattr.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-inode-times.m4
kernel-insert-inode-locked.m4
kernel-is_owner_or_cap.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-kmap-atomic-args.m4
kernel-kmem-cache.m4
kernel-kmem.m4
kernel-kstrtoul.m4
kernel-kthread.m4
kernel-ktime.m4
kernel-kuid-helpers.m4
kernel-kuidgid.m4
kernel-lseek-execute.m4
kernel-make-request-fn.m4
kernel-misc-minor.m4
kernel-mkdir.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-mknod.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-objtool.m4
kernel-pagemap-folio_wait_bit.m4
kernel-pde-data.m4
kernel-percpu.m4
kernel-proc-operations.m4
kernel-put-link.m4
kernel-readpages.m4
kernel-reclaim_state.m4 Linux 6.4 compat: reclaimed_slab renamed to reclaimed 2023-05-24 12:23:42 -07:00
kernel-register_sysctl_table.m4 Linux 6.5 compat: register_sysctl_table removed 2023-09-19 08:50:01 -07:00
kernel-rename.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-revalidate-disk-size.m4
kernel-rw.m4
kernel-rwsem.m4
kernel-sched.m4
kernel-security-inode-init.m4
kernel-set-nlink.m4
kernel-setattr-prepare.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-sget-args.m4
kernel-show-options.m4
kernel-shrink.m4
kernel-siginfo.m4
kernel-signal-stop.m4
kernel-special-state.m4
kernel-stdarg.m4
kernel-super-userns.m4
kernel-symlink.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-sysfs.m4
kernel-timer.m4
kernel-tmpfile.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-totalhigh_pages.m4
kernel-totalram-pages-func.m4
kernel-truncate-setsize.m4
kernel-user-ns-inum.m4
kernel-userns-capabilities.m4
kernel-usleep_range.m4
kernel-vfs-direct_IO.m4
kernel-vfs-extended-file_range.m4 linux: implement filesystem-side copy/clone functions for EL7 2023-07-26 08:46:58 -07:00
kernel-vfs-file_range.m4 linux: implement filesystem-side copy/clone functions 2023-07-26 08:46:58 -07:00
kernel-vfs-filemap_dirty_folio.m4
kernel-vfs-fsync.m4
kernel-vfs-getattr.m4
kernel-vfs-iov_iter.m4 Linux 6.5 compat: replace generic_file_splice_read with filemap_splice_read 2023-09-19 08:50:01 -07:00
kernel-vfs-iterate.m4
kernel-vfs-read_folio.m4
kernel-vfs-rw-iterate.m4
kernel-vfs-set_page_dirty.m4
kernel-wait.m4
kernel-writepage_t.m4
kernel-xattr-handler.m4 Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
kernel-zero_page.m4
kernel-zlib.m4
kernel.m4 Linux 6.5 compat: Use copy_splice_read instead of filemap_splice_read 2023-09-19 08:50:01 -07:00
lib-ld.m4
lib-link.m4
lib-prefix.m4
mount-helper.m4
nls.m4
pkg.m4
po.m4
progtest.m4
rpm.am
Rules.am
Shellcheck.am shellcheck: disable "unreachable command" check [SC2317] 2023-07-21 16:35:12 -07:00
Substfiles.am
tgz.am
toolchain-simd.m4
user-aio.h.m4
user-clock_gettime.m4
user-dracut.m4
user-gettext.m4
user-libaio.m4
user-libatomic.m4
user-libblkid.m4
user-libcrypto.m4
user-libexec.m4
user-libfetch.m4
user-libtirpc.m4
user-libudev.m4
user-libuuid.m4
user-makedev.m4
user-pam.m4
user-runstatedir.m4
user-systemd.m4
user-sysvinit.m4
user-udev.m4
user-zlib.m4
user.m4
zfs-build.m4 contrib: bash_completion.d: make install destination vendor dependent 2023-10-03 09:06:07 -07:00
zfs-meta.m4