mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-01 05:49:35 +03:00
initramfs: zfsunlock hook breaks /usr/bin
The copy_exec() function expects that the full path of the target file is passed rather than just the directory, and will take care of creating the underlying directories if they don't exist. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Pavel Zakharov <pavel.zakharov@delphix.com> Closes #11162
This commit is contained in:
parent
cb4d3fb737
commit
a4efa59a94
@ -15,4 +15,4 @@ esac
|
||||
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
|
||||
copy_exec /usr/share/initramfs-tools/zfsunlock /usr/bin
|
||||
copy_exec /usr/share/initramfs-tools/zfsunlock /usr/bin/zfsunlock
|
||||
|
Loading…
Reference in New Issue
Block a user