]> git.proxmox.com Git - mirror_zfs.git/commit
initramfs: zfsunlock hook breaks /usr/bin
authorPavel Zakharov <pavel.zakharov@delphix.com>
Tue, 10 Nov 2020 19:12:07 +0000 (14:12 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Nov 2020 19:07:40 +0000 (11:07 -0800)
commita4efa59a9479f48311b92d5542f711c2a5626fa5
treea6eff52f51f99205ed79e90d9929fda2727b1fb3
parentcb4d3fb7373e5b09e182dbac6ab059a917c1fda4
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
contrib/initramfs/hooks/zfsunlock.in