Skip to content
Commit 38a5cf3f authored by Enrico Scholz's avatar Enrico Scholz Committed by Martin Jansa
Browse files

systemd.bbclass: move disable operation into prerm() script



The 'systemctl disable' operation should not be done in postrm() because
the .service file does not exist anymore and the script will fail hence.

After moving this command into prerm(), postrm() becomes empty and can
be removed completely.

Signed-off-by: default avatarEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent 5d7953c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment