systemd-cryptsetup-generator: Also build systemd-cryptsetup

This commit is contained in:
Moritz Ulrich 2016-03-24 13:30:29 +01:00
parent 47e5fd9f57
commit faa79e60cc

View File

@ -11,11 +11,15 @@ stdenv.lib.overrideDerivation systemd (p: {
buildPhase = '' buildPhase = ''
make $makeFlags built-sources make $makeFlags built-sources
make $makeFlags systemd-cryptsetup
make $makeFlags systemd-cryptsetup-generator make $makeFlags systemd-cryptsetup-generator
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/lib/systemd/system-generators/ mkdir -p $out/lib/systemd/system-generators/
cp systemd-cryptsetup-generator $out/lib/systemd/system-generators/systemd-cryptsetup-generator cp systemd-cryptsetup-generator $out/lib/systemd/system-generators/systemd-cryptsetup-generator
mkdir -p $out/lib/systemd/
cp systemd-cryptsetup $out/lib/systemd/systemd-cryptsetup
''; '';
}) })