open-iscsi: install systemd files (#97793)
This commit is contained in:
parent
9957d406a2
commit
c30745e053
@ -25,8 +25,16 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's|/usr|/|' Makefile
|
||||
'';
|
||||
|
||||
installFlags = [
|
||||
"install"
|
||||
"install_systemd"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
cp usr/iscsistart $out/sbin/
|
||||
for f in $out/lib/systemd/system/*; do
|
||||
substituteInPlace $f --replace /sbin $out/bin
|
||||
done
|
||||
$out/sbin/iscsistart -v
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user