From f2523c08e4c118b0a56a48e6ce05b61839850478 Mon Sep 17 00:00:00 2001 From: Jack Cummings Date: Mon, 12 Aug 2013 15:53:57 -0700 Subject: fixiup zfs binaries in initrd Previously, the zfs binaries were put in $out/sbin where the stage-1 patchelf wouldn't fix them up. This would fail the allowedReferences test. Move the zfs binaries to $out/bin. --- modules/tasks/filesystems/zfs.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/tasks/filesystems/zfs.nix b/modules/tasks/filesystems/zfs.nix index 590eb002022b..c1955b146918 100644 --- a/modules/tasks/filesystems/zfs.nix +++ b/modules/tasks/filesystems/zfs.nix @@ -52,9 +52,9 @@ in kernelModules = [ "spl" "zfs" ] ; extraUtilsCommands = '' - cp -v ${kernel.zfs}/sbin/zfs $out/sbin - cp -v ${kernel.zfs}/sbin/zdb $out/sbin - cp -v ${kernel.zfs}/sbin/zpool $out/sbin + cp -v ${kernel.zfs}/sbin/zfs $out/bin + cp -v ${kernel.zfs}/sbin/zdb $out/bin + cp -v ${kernel.zfs}/sbin/zpool $out/bin ''; postDeviceCommands = '' -- cgit 1.4.1