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" ] ;
|
kernelModules = [ "spl" "zfs" ] ;
|
||||||
extraUtilsCommands =
|
extraUtilsCommands =
|
||||||
''
|
''
|
||||||
cp -v ${kernel.zfs}/sbin/zfs $out/sbin
|
cp -v ${kernel.zfs}/sbin/zfs $out/bin
|
||||||
cp -v ${kernel.zfs}/sbin/zdb $out/sbin
|
cp -v ${kernel.zfs}/sbin/zdb $out/bin
|
||||||
cp -v ${kernel.zfs}/sbin/zpool $out/sbin
|
cp -v ${kernel.zfs}/sbin/zpool $out/bin
|
||||||
'';
|
'';
|
||||||
postDeviceCommands =
|
postDeviceCommands =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user