mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
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.
This commit is contained in:
parent
e0dcfac2e2
commit
f2523c08e4
@ -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 =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user