Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.2] Configurable systemd prefix #417

Merged
merged 1 commit into from Aug 25, 2023
Merged

Conversation

rdmark
Copy link
Member

@rdmark rdmark commented Aug 24, 2023

This changeset makes it possible to choose a systemd dir prefix on configure time.

  • Introduce --with-systemd-prefix option that takes PATH to prefix (typically /lib or /usr/lib)
  • Make --enable-systemd option detect the most likely prefix (/lib or /usr/lib)
  • Deprecate platform specific systemd options

- Remove hard-coded systemd path /lib/systemd in Makefile
- Introduce check for the two known common prefixes
  /lib with fallback to /usr/lib in --enable-systemd
- Introduce --with-systemd-prefix autoconf option
  which takes PATH to systemd prefix and defaults to /usr/lib
@rdmark rdmark marked this pull request as ready for review August 25, 2023 01:01
@sonarcloud
Copy link

sonarcloud bot commented Aug 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@rdmark rdmark merged commit 4acd2ca into branch-netatalk-2-2 Aug 25, 2023
5 checks passed
@rdmark rdmark deleted the rdmark-issue-404 branch August 25, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant