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 spec file to create RPM #119

Closed
SpareSimian opened this issue Apr 25, 2020 · 12 comments
Closed

Add spec file to create RPM #119

SpareSimian opened this issue Apr 25, 2020 · 12 comments

Comments

@SpareSimian
Copy link

Attached is what I'm using for CentOS 7. (.txt extension appended to allow upload here.)

sqm-scripts.spec.txt

@tohojo
Copy link
Owner

tohojo commented Apr 25, 2020 via email

@SpareSimian
Copy link
Author

The hard part is getting the SOURCE0 line right. I'd originally packaged with 1.3.0 and had the commented-out line for that piece, but it doesn't seem to work now. The tarball ends up having the wrong subdirectory with the wrong shortcommit tag in the directory name. So I switched to using the GitHub release link, instead.

You can use this command from the rpmdevtools package to download whatever appears in the SOURCE0 line to your SOURCES directory:

spectool -g -R sqm-scripts.spec

@jorti
Copy link

jorti commented Jun 23, 2020

Hi, just a heads up that I've created the sqm-scripts package in Fedora.

If there's interest, I can add it to EPEL, although I'm not sure if cake is in the CentOS 8 kernel.

@tohojo
Copy link
Owner

tohojo commented Jun 23, 2020 via email

@jorti
Copy link

jorti commented Jun 23, 2020

Ah, cool! Would you mind adding me as co-maintainer for that?

Sure. Please, tell me your FAS account name.

@tohojo
Copy link
Owner

tohojo commented Jun 23, 2020 via email

@jorti
Copy link

jorti commented Jun 23, 2020

Ok done.

@SpareSimian
Copy link
Author

fq_codel is the default qdisc in RHEL/CentOS 7. Try "cat /proc/sys/net/core/default_qdisc".

@tohojo
Copy link
Owner

tohojo commented Jun 23, 2020 via email

@tohojo
Copy link
Owner

tohojo commented Jun 23, 2020 via email

@SpareSimian
Copy link
Author

There's been some discussion on the bufferbloat and cake mailing lists about compiling cake as a module but I don't have time to pursue it.

@tohojo
Copy link
Owner

tohojo commented Jun 23, 2020 via email

@tohojo tohojo closed this as completed Jan 15, 2021
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

No branches or pull requests

3 participants