Ignore *.wants in systemd.packages for now

This commit is contained in:
Eelco Dolstra 2014-04-22 15:36:04 +02:00
parent 52769d5c17
commit fa3826dcf4

View file

@ -408,10 +408,11 @@ let
# Symlink all units provided listed in systemd.packages.
for i in ${toString cfg.packages}; do
files=$(echo $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*)
if [ -n "$files" ]; then
ln -s $files $out/
fi
for fn in $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*; do
if ! [[ "$fn" =~ .wants$ ]]; then
ln -s $fn $out/
fi
done
done
# Symlink all units defined by systemd.units. If these are also