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

Add script to build rpm packages #17

Merged
merged 7 commits into from
Aug 27, 2022
Merged

Add script to build rpm packages #17

merged 7 commits into from
Aug 27, 2022

Conversation

AntonVanAssche
Copy link
Contributor

As suggested in #16 I wrote a script to create rpm packages. This script ensures that programs such as alien are no longer needed in the future.

The script creates the necessary files/folders, updates and move the files to their corresponding folder and finally builds a rpm package that can be used on any cpu architecture.

To build an rpm package one has to run the following command from the core of the repository. I've added a small README file with the build instruction just in case.

$ ./rpm/build.sh

The script seems to work fine on my machine although I recommend testing it before merging.

This PR should close #16.

@Crilum
Copy link
Owner

Crilum commented Aug 27, 2022

Thank you! I'll test it! 👍

rpm/build.sh Show resolved Hide resolved
rpm/build.sh Outdated Show resolved Hide resolved
@Crilum
Copy link
Owner

Crilum commented Aug 27, 2022

I also get this error:
image

@AntonVanAssche
Copy link
Contributor Author

I also get this error: image

You are trying to build the rpm package from the wrong directory.

Try going one directory back, this should work.

$ cd ../
$ ./rpm/build.sh

@AntonVanAssche
Copy link
Contributor Author

I've commited the changes you requested.

See commit AntonVanAssche@c843908 and AntonVanAssche@fd4dca0.

@Crilum
Copy link
Owner

Crilum commented Aug 27, 2022

It works great, on both CentOS and Debian. 👏 🎉

@Crilum Crilum merged commit 5faa623 into Crilum:main Aug 27, 2022
@Crilum
Copy link
Owner

Crilum commented Aug 27, 2022

I'll add this to the GH Actions package builder.

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.

rpm package conflicts with filesystem-3.16-2.fc36.x86_64
2 participants