Skip to content

Commit

Permalink
fixiup zfs binaries in initrd
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jcumming authored and Phreedom committed Sep 2, 2013
1 parent e0dcfac commit f2523c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/tasks/filesystems/zfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
''
Expand Down

0 comments on commit f2523c0

Please sign in to comment.