Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix systemd-sysusers/-tmpfiles invocation
systemd-sysusers/-tmpfiles needs to be executed in install-data-hook instead of install-exec-hook, otherwise the configuration files sysusers/tmpfiles_DATA are not installed yet. Automake only allows a single hook of each type, and there is already one for prepending the udev rules file with a prefix, so these hooks need to be consolidated: if WITH_UDEVRULESPREFIX is false, udevrulesprefix is empty, so the mv operation fails since source and target are the same file. Ignore this error since it is harmless. Also consolidate uninstall-hook into uninstall-local for simplicity. Fixes: 7502887 Signed-off-by: Jonas Witschel <diabonas@gmx.de>
- Loading branch information