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

feat: Create automated debian and RPM packaging #1549

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

sdelliot
Copy link
Contributor

@sdelliot sdelliot commented Dec 2, 2024

This PR provides several needed packaging changes to minimega.

  1. A systemd script that is used to start minimega as a service and will be packaged with the minimega release files. The old initd script is unusable on modern versions of Linux. To automate the installation of the system service on package install, this update was necessary.
  2. A build system for compiling minimega for RHEL-based distributions by developing an RPM spec file for minimega. (Closes misc: add RPM packaging #1286)
  3. Updated the debian build system using more modern and maintainable approaches to building a debian package.
  4. Finally, we add github actions to create both the Debian and RPM release files so that they are automatically created when a new release is issued.

To use the new packaging setup, a README file is provided for both debian and rpm-based distributions. The build scripts are designed to work with debian-based systems. To properly install the RPM, users will also need to install/activate the EPEL repo. See this document for details on how to do this.

@jacdavi jacdavi added this to the 2.10 milestone Dec 2, 2024
…e similar to those in the dockerized version. (#2)
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.

misc: add RPM packaging
3 participants