| Summary: | Add --without-cron option to disable installing the cron job | ||
|---|---|---|---|
| Product: | Location Database | Reporter: | Petr Pisar <ppisar> |
| Component: | libloc | Assignee: | Michael Tremer <michael.tremer> |
| Status: | MODIFIED --- | QA Contact: | Peter Müller <peter.mueller> |
| Severity: | Minor Usability | ||
| Priority: | - Unknown - | ||
| Version: | unspecified | ||
| Hardware: | unspecified | ||
| OS: | Linux | ||
| Attachments: | Proposed fix | ||
https://git.ipfire.org/?p=location/libloc.git;a=commit;h=872580a981dcd7aa8b58ea52b4602e8c8d7bf3a6 Author: Michael Tremer <michael.tremer@ipfire.org> Makefile: Only install the cron job if there is no systemd timer On systems with systemd the timer updates the database, so that the cron job is pointless there. Fixes: #14728 - Add --without-cron option to disable installing the cron job Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Hello Petr, thanks for opening this, I missed your proposed fix, but I thought we should not install the crontab if systemd (timer) is supported. Would my proposed change be acceptable for you, or do you require the configure switch? I don't need the option (Fedora has only systemd). My patch made systemd timer and cron table independend because of the original comment in the Makefile.am. I suppose that Debian supports systems without systemd and that means that Debian maintainers need to package both the systemd timer and the cron table. Okay, I will leave it as is then. The Debian people sadly didn't want an account on here, so I cannot easily Cc them to find out what they would prefer. |
Created attachment 1799 [details] Proposed fix On operating systems which only support systemd installing the cron job is pointless. An attached patch adds --without-cron configure option to disable installing the job.