[PR #4] [MERGED] rpm - Support customizing the prefix, user, group and service name #160

Open
opened 2026-01-29 16:30:53 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/quamotion/dotnet-packaging/pull/4
Author: @qmfrederik
Created: 6/24/2017
Status: Merged
Merged: 6/24/2017
Merged by: @qmfrederik

Base: masterHead: rpm/additional-files


📝 Commits (3)

  • a76dc26 Enable overriding additional properties
  • 68d5376 Support customizing the user name and service name
  • bbc7385 Fix unit test

📊 Changes

4 files changed (+39 additions, -8 deletions)

View changed files

📝 Packaging.Targets.Tests/Rpm/RpmPackageCreatorTests.cs (+3 -0)
📝 Packaging.Targets/Rpm/RpmPackageCreator.cs (+8 -5)
📝 Packaging.Targets/RpmTask.cs (+21 -0)
📝 Packaging.Targets/build/Packaging.Targets.targets (+7 -3)

📄 Description

You can now customize:

  • The path to which the app is installed (by default /usr/share/<project-name>) by setting the Prefix property
  • The name of the Linux user and group created for the service account by setting the UserName property
  • The name of the SystemD service which is installed by setting the ServiceName property.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/quamotion/dotnet-packaging/pull/4 **Author:** [@qmfrederik](https://github.com/qmfrederik) **Created:** 6/24/2017 **Status:** ✅ Merged **Merged:** 6/24/2017 **Merged by:** [@qmfrederik](https://github.com/qmfrederik) **Base:** `master` ← **Head:** `rpm/additional-files` --- ### 📝 Commits (3) - [`a76dc26`](https://github.com/quamotion/dotnet-packaging/commit/a76dc26e4e7b951f0ca3195b90617457c8c7f828) Enable overriding additional properties - [`68d5376`](https://github.com/quamotion/dotnet-packaging/commit/68d53767270af461f1ff4f28e9908d299a1d5bd4) Support customizing the user name and service name - [`bbc7385`](https://github.com/quamotion/dotnet-packaging/commit/bbc7385310b0f55388463f7012c59beeb6c1c3d9) Fix unit test ### 📊 Changes **4 files changed** (+39 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `Packaging.Targets.Tests/Rpm/RpmPackageCreatorTests.cs` (+3 -0) 📝 `Packaging.Targets/Rpm/RpmPackageCreator.cs` (+8 -5) 📝 `Packaging.Targets/RpmTask.cs` (+21 -0) 📝 `Packaging.Targets/build/Packaging.Targets.targets` (+7 -3) </details> ### 📄 Description You can now customize: * The path to which the app is installed (by default `/usr/share/<project-name>`) by setting the `Prefix` property * The name of the Linux user and group created for the service account by setting the `UserName` property * The name of the SystemD service which is installed by setting the `ServiceName` property. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:30:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#160