diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-05-21 09:21:45 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-05-21 09:22:01 -0700 |
commit | e948123902aae8e44cc884105031f491298330e6 (patch) | |
tree | d813fd33c24dd0b0acd30a49ff2c27f84816364d /sys-fs | |
parent | dev-lang/spidermonkey: add initial Linux/RISC-V support (diff) | |
download | gentoo-e948123902aae8e44cc884105031f491298330e6.tar.gz gentoo-e948123902aae8e44cc884105031f491298330e6.tar.bz2 gentoo-e948123902aae8e44cc884105031f491298330e6.zip |
sys-fs/zfs-kmod: fix dist-kernel postinst hook
it was using kernel ARCH values and failing in
dist-kernel_get_image_path()
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-0.8.6.ebuild | 1 | ||||
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-2.0.4.ebuild | 1 | ||||
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc5.ebuild | 1 | ||||
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-9999.ebuild | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-0.8.6.ebuild b/sys-fs/zfs-kmod/zfs-kmod-0.8.6.ebuild index 6c07ba52c3ae..aa5c9b935f06 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-0.8.6.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-0.8.6.ebuild @@ -159,6 +159,7 @@ pkg_postinst() { fi if [[ -z ${ROOT} ]] && use dist-kernel; then + set_arch_to_portage dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" fi diff --git a/sys-fs/zfs-kmod/zfs-kmod-2.0.4.ebuild b/sys-fs/zfs-kmod/zfs-kmod-2.0.4.ebuild index b4fc7559ba13..02c14548586c 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-2.0.4.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-2.0.4.ebuild @@ -150,6 +150,7 @@ pkg_postinst() { fi if [[ -z ${ROOT} ]] && use dist-kernel; then + set_arch_to_portage dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" fi diff --git a/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc5.ebuild b/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc5.ebuild index d09744c5227c..430fa43eaadb 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc5.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc5.ebuild @@ -159,6 +159,7 @@ pkg_postinst() { fi if [[ -z ${ROOT} ]] && use dist-kernel; then + set_arch_to_portage dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" fi diff --git a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild index d09744c5227c..430fa43eaadb 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild @@ -159,6 +159,7 @@ pkg_postinst() { fi if [[ -z ${ROOT} ]] && use dist-kernel; then + set_arch_to_portage dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" fi |