Ignore *.wants in systemd.packages for now
This commit is contained in:
parent
52769d5c17
commit
fa3826dcf4
@ -408,11 +408,12 @@ let
|
|||||||
|
|
||||||
# Symlink all units provided listed in systemd.packages.
|
# Symlink all units provided listed in systemd.packages.
|
||||||
for i in ${toString cfg.packages}; do
|
for i in ${toString cfg.packages}; do
|
||||||
files=$(echo $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*)
|
for fn in $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*; do
|
||||||
if [ -n "$files" ]; then
|
if ! [[ "$fn" =~ .wants$ ]]; then
|
||||||
ln -s $files $out/
|
ln -s $fn $out/
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
done
|
||||||
|
|
||||||
# Symlink all units defined by systemd.units. If these are also
|
# Symlink all units defined by systemd.units. If these are also
|
||||||
# provided by systemd or systemd.packages, then add them as
|
# provided by systemd or systemd.packages, then add them as
|
||||||
|
Loading…
Reference in New Issue
Block a user