-
Notifications
You must be signed in to change notification settings - Fork 162
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
dist: build software packages #4425
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Today I have been implementing https://docs.scion.org/en/latest/tutorials/deploy.html as a NixOS Test, so that the freestanding deployment can be independently verified by anyone. This work also necessarily bootstraps the necessary nixosModules for running the SCION go software stack as services on NixOS. In doing so I found a distro specific quirk, (maybe a debian/ubuntuism?) that prevented me from using the software from the repo as-is. The Line 93 in 0871860
Reliance on well-known paths, or distribution specific paths is probably not a good default setting for the dispatcher, or any other program in the stack |
Hey @MatthewCroughan, thanks for your feedback. I agree, The various symlinks in and between Aside from the odd subdirectory, having a well-known path to a socket in |
.deb and openwrt are done. We do not yet have rpm packages, but then, I don't remember anyone asking for it. |
I should note that SCION support has been added to NixOS for the past few months, and there is some SCIONLab documentation at https://wiki.nixos.org/wiki/SCION. The PRs to NixOS that implemented this are mostly visible here https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+scion+is%3Aclosed There are some issues about the lack of licensing on various SCION related projects that prevents their packaging and inclusion on NixOS however, which can be seen here scionproto/awesome-scion#3 |
Noone clamored for rpms, but since I do use fedora, and since I had a couple of afternoons to kill, I looked into it. |
Unfortunately, the new style rpm_rules (the ones that I find remotely usable) do not appear to support cross-architecture packaging yet. So, this is x86_64 only for now. Fixes #4425 --------- Co-authored-by: FR4NK-W <[email protected]>
...unfortunately rpm packages are x86_64 only for now, though. The other targets are waiting for bazelbuild/rules_pkg#727 (or we need multi-arch CI systems or we need to use legacy rpm rules that suck). |
Create software installation packages for the individual SCION components (router, control service, daemon, dispatcher, gateway and tools).
Platforms: linux amd64, arm64
Package formats: .deb, .rpm.
Minimal system integration by providing systemd. Statically linked binaries and no requirements on libc etc, thus targeting all "modern-ish" distributions (Debian >=8, RHEL >= 7 and derivatives).
This is a first step, supporting other formats, platforms etc. may be added later.
For now, we'll only build the packages. Later we'll investigate where we can publish them. The idea is to build the packages using bazel
rules_pkg
. This may not lead to the perfect packages, but it should work for a start.The text was updated successfully, but these errors were encountered: