Skip to content

systemd: Fix ceph-volume@ CMake template processing#65725

Closed
josh wants to merge 1 commit intoceph:mainfrom
josh:systemd-cmake-template
Closed

systemd: Fix ceph-volume@ CMake template processing#65725
josh wants to merge 1 commit intoceph:mainfrom
josh:systemd-cmake-template

Conversation

@josh
Copy link

@josh josh commented Sep 29, 2025

#60575 added a @CMAKE_INSTALL_PREFIX@ substitution which is only processed in .in CMake template files. Most units were fine except that systemd/[email protected] which didn't have a .in and is in the as-is files set. This PR fixes the [email protected] unit so any variables are substituted on build.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

Copilot AI review requested due to automatic review settings September 29, 2025 22:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes CMake template processing for the [email protected] systemd unit. A previous change introduced @CMAKE_INSTALL_PREFIX@ substitution that requires files to be processed as CMake templates (.in files), but [email protected] was being installed as-is without template processing.

  • Moves [email protected] from the as-is install list to the template processing list
  • Ensures CMake variables are properly substituted during build

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Nov 28, 2025
@tchaikov
Copy link
Contributor

tchaikov commented Jan 6, 2026

i am closing this pull request, as it duplicates #66670.

@tchaikov tchaikov closed this Jan 6, 2026
@josh josh deleted the systemd-cmake-template branch January 6, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants