mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +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
7b42f09049
commit
0f66201dbc
@ -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