Revert "tmp: debug for anaconda-generator"

systemctl cannot be used in systemd generators
https://www.freedesktop.org/software/systemd/man/systemd.generator.html

This reverts commit 9a3862bf94.
master
Mikhail Novosyolov 4 years ago
parent 9a3862bf94
commit f19de88a13

@ -76,19 +76,6 @@ find /boot -name 'vmlinuz-*' | sort -u | while read -r line ; do
done
find /boot -name 'initrd-*' -print
# tmp debug
cat << EOF > /lib/systemd/system-generators/debug0
#!/bin/sh
_main(){
systemctl list-units --type=target
systemctl is-active anaconda.target
}
set -x
_main 2>&1 | tee /tmp/debug0
EOF
chmod +x /lib/systemd/system-generators/debug0
%end
# debug