diff options
-rw-r--r-- | metadata/md5-cache/sys-fs/zfs-utils-2.1.7-r2 | 2 | ||||
-rw-r--r-- | sys-fs/zfs-utils/files/zfs-conf.d | 109 | ||||
-rw-r--r-- | sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild | 2 |
3 files changed, 2 insertions, 111 deletions
diff --git a/metadata/md5-cache/sys-fs/zfs-utils-2.1.7-r2 b/metadata/md5-cache/sys-fs/zfs-utils-2.1.7-r2 index 4594cba5..ae4a5453 100644 --- a/metadata/md5-cache/sys-fs/zfs-utils-2.1.7-r2 +++ b/metadata/md5-cache/sys-fs/zfs-utils-2.1.7-r2 @@ -13,4 +13,4 @@ RESTRICT=test SLOT=0 SRC_URI=https://github.com/openzfs/zfs-utils/releases/download/zfs-2.1.7/zfs-2.1.7.tar.gz _eclasses_=bash-completion-r1 f5e7a020fd9c741740756aac61bf75ff edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 flag-o-matic 69394e25812406faa1f90edaf4969395 multilib 5ca4e49abed8e3a2f7b56920eadee157 pam 01b77091d5b6560b0aeafa7fbb1bd818 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 9a610728b9bcca1919234cceb35a1027 udev eec0bbab06977f1cfc5597269c1fa152 wrapper 4a1902f969e5718126434fc35f3a0d9c -_md5_=a8a9e4d22203ba9baf3dc8dfd9d1b269 +_md5_=9adec237add2c9fdac6d00c5386fb4a4 diff --git a/sys-fs/zfs-utils/files/zfs-conf.d b/sys-fs/zfs-utils/files/zfs-conf.d deleted file mode 100644 index af3ff9da..00000000 --- a/sys-fs/zfs-utils/files/zfs-conf.d +++ /dev/null @@ -1,109 +0,0 @@ -# OpenZFS userland configuration. - -# NOTE: This file is intended for sysv init and initramfs. -# Changing some of these settings may not make any difference on -# systemd-based setup, e.g. setting ZFS_MOUNT=no will not prevent systemd -# from launching zfs-mount.service during boot. -# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901436 - -# To enable a boolean setting, set it to yes, on, true, or 1. -# Anything else will be interpreted as unset. - -# Run `zfs load-key` during system start? -ZFS_LOAD_KEY='yes' - -# Run `zfs unload-key` during system stop? -ZFS_UNLOAD_KEY='no' - -# Run `zfs mount -a` during system start? -ZFS_MOUNT='yes' - -# Run `zfs unmount -a` during system stop? -ZFS_UNMOUNT='no' - -# Run `zfs share -a` during system start? -# nb: The shareiscsi, sharenfs, and sharesmb dataset properties. -ZFS_SHARE='yes' - -# Run `zfs unshare -a` during system stop? -ZFS_UNSHARE='yes' - -# By default, a verbatim import of all pools is performed at boot based on the -# contents of the default zpool cache file. The contents of the cache are -# managed automatically by the 'zpool import' and 'zpool export' commands. -# -# By setting this to 'yes', the system will instead search all devices for -# pools and attempt to import them all at boot, even those that have been -# exported. Under this mode, the search path can be controlled by the -# ZPOOL_IMPORT_PATH variable and a list of pools that should not be imported -# can be listed in the ZFS_POOL_EXCEPTIONS variable. -# -# Note that importing all visible pools may include pools that you don't -# expect, such as those on removable devices and SANs, and those pools may -# proceed to mount themselves in places you do not want them to. The results -# can be unpredictable and possibly dangerous. Only enable this option if you -# understand this risk and have complete physical control over your system and -# SAN to prevent the insertion of malicious pools. -ZPOOL_IMPORT_ALL_VISIBLE='no' - -# Specify specific path(s) to look for device nodes and/or links for the -# pool import(s). See zpool(8) for more information about this variable. -# It supersedes the old USE_DISK_BY_ID which indicated that it would only -# try '/dev/disk/by-id'. -# The old variable will still work in the code, but is deprecated. -#ZPOOL_IMPORT_PATH="/dev/disk/by-vdev:/dev/disk/by-id" - -# List of pools that should NOT be imported at boot -# when ZPOOL_IMPORT_ALL_VISIBLE is 'yes'. -# This is a space separated list. -#ZFS_POOL_EXCEPTIONS="test2" - -# Should the datasets be mounted verbosely? -# A mount counter will be used when mounting if set to 'yes'. -VERBOSE_MOUNT='no' - -# Should we allow overlay mounts? -# This is standard in Linux, but not ZFS which comes from Solaris where this -# is not allowed). -DO_OVERLAY_MOUNTS='no' - -# Any additional option to the 'zfs import' commandline? -# Include '-o' for each option wanted. -# You don't need to put '-f' in here, unless you want it ALL the time. -# Using the option 'zfsforce=1' on the grub/kernel command line will -# do the same, but on a case-to-case basis. -ZPOOL_IMPORT_OPTS="" - -# Full path to the ZFS cache file? -# See "cachefile" in zpool(8). -# The default is "/etc/zfs/zpool.cache". -#ZPOOL_CACHE="/etc/zfs/zpool.cache" -# -# Setting ZPOOL_CACHE to an empty string ('') AND setting ZPOOL_IMPORT_OPTS to -# "-c /etc/zfs/zpool.cache" will _enforce_ the use of a cache file. -# This is needed in some cases (extreme amounts of VDEVs, multipath etc). -# Generally, the use of a cache file is usually not recommended on Linux -# because it sometimes is more trouble than it's worth (laptops with external -# devices or when/if device nodes changes names). -#ZPOOL_IMPORT_OPTS="-c /etc/zfs/zpool.cache" -#ZPOOL_CACHE="" - -# Any additional option to the 'zfs mount' command line? -# Include '-o' for each option wanted. -MOUNT_EXTRA_OPTIONS="" - -# Build kernel modules with the --enable-debug switch? -# Only applicable for Debian GNU/Linux {dkms,initramfs}. -ZFS_DKMS_ENABLE_DEBUG='no' - -# Build kernel modules with the --enable-debuginfo switch? -# Only applicable for Debian GNU/Linux {dkms,initramfs}. -ZFS_DKMS_ENABLE_DEBUGINFO='no' - -# Keep debugging symbols in kernel modules? -# Only applicable for Debian GNU/Linux {dkms,initramfs}. -ZFS_DKMS_DISABLE_STRIP='no' - -# Optional arguments for the ZFS Event Daemon (ZED). -# See zed(8) for more information on available options. -#ZED_ARGS="-M" diff --git a/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild b/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild index 61e6b4c1..38c87723 100644 --- a/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild +++ b/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild @@ -98,7 +98,7 @@ src_install() { bashcomp_alias zfs zpool dodir etc/conf.d insinto etc/conf.d - newins "${FILESDIR}"/zfs-conf.d zfs + doins "${S}"/etc/default/zfs use pam && { rm -rv "${ED}/unwanted_files" || die ; } use test-suite || { rm -r "${ED}/usr/share/zfs" || die ; } } |