tmp: debug for anaconda-generator

master
Mikhail Novosyolov 4 years ago
parent a4620e8bb4
commit 9a3862bf94

@ -76,6 +76,19 @@ 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