elogind: cleanup after doing tests.

This commit is contained in:
maxice8 2018-01-16 10:19:30 -02:00 committed by Enno Boland
parent 1c8a13683a
commit 9c907adbb2
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ pre_check() {
echo 'dummy-file' > /etc/os-release
}
post_check() {
rm -f /etc/machine-id /etc/os-release
}
post_install() {
ln -s libelogind.pc $DESTDIR/usr/lib/pkgconfig/libsystemd.pc
ln -s libelogind.pc $DESTDIR/usr/lib/pkgconfig/libsystemd-logind.pc