diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-04 04:07:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-04 04:07:19 +0100 |
commit | 2475ac51234b6ca2597db80dd05deb29667888b0 (patch) | |
tree | c3b38e5475d765253892cebd14aa2eb4822ef00f /sys-fs/zfs-kmod/zfs-kmod-9999.ebuild | |
parent | 2764a2c09ef0bc530bda7afb20e505ca24d310c6 (diff) |
gentoo auto-resync : 04:07:2023 - 04:07:19
Diffstat (limited to 'sys-fs/zfs-kmod/zfs-kmod-9999.ebuild')
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-9999.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild index 0c5bfab161cc..6e98cece951c 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild @@ -22,7 +22,7 @@ else MY_PV=${PV/_rc/-rc} SRC_URI="https://github.com/openzfs/zfs/releases/download/zfs-${MY_PV}/zfs-${MY_PV}.tar.gz" SRC_URI+=" verify-sig? ( https://github.com/openzfs/zfs/releases/download/zfs-${MY_PV}/zfs-${MY_PV}.tar.gz.asc )" - S="${WORKDIR}/zfs-${PV%_rc?}" + S="${WORKDIR}/zfs-${MY_PV}" ZFS_KERNEL_COMPAT="${MODULES_KERNEL_MAX}" # Increments minor eg 5.14 -> 5.15, and still supports override. @@ -40,8 +40,8 @@ IUSE="custom-cflags debug +rootfs" RESTRICT="test" BDEPEND=" - dev-lang/perl app-alternatives/awk + dev-lang/perl " if [[ ${PV} != 9999 ]] ; then @@ -183,10 +183,10 @@ _old_layout_cleanup() { } pkg_postinst() { - # check for old module layout before doing anything else. + # Check for old module layout before doing anything else. # only attempt layout cleanup if new .ko location is used. local newko=( "${EROOT}/lib/modules/${KV_FULL}/extra"/{zfs,spl}.ko* ) - # we check first array member, if glob above did not exand, it will be "zfs.ko*" and -f will return false. + # We check first array member, if glob above did not exand, it will be "zfs.ko*" and -f will return false. # if glob expanded -f will do correct file precense check. [[ -f ${newko[0]} ]] && _old_layout_cleanup |