diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template index c8c2e31f63a..cc79a3a945d 100644 --- a/srcpkgs/elogind/template +++ b/srcpkgs/elogind/template @@ -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