mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 05:35:57 +00:00
[PR #2] Alpha support for generating RPM packages #163
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/quamotion/dotnet-packaging/pull/2
State: closed
Merged: Yes
This PR adds preliminary support for generating RPM packages for a .NET Core project.
Included is:
cpiofile (which is the format used for the RPM payload) based on the output ofdotnet publish. The Linux file modes (rwx for the various groups) are determined based on the file types, even on Windows..rpmfiles, including the signature, header (metadata) and payload.rpmpackage for a ASP.NET Core using thedotnet rpmcommandThis has been tested by creating a RPM package for the demo ASP.NET project included in this repository, on Windows, and installing that package on CentOS 7.
Because RPM files use
xzcompression,lzmais a requirement.lzma.dllis included for x64 Windows; for other OS'es, it is assumed thatlzmais already present or installed via the package manager.