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

Don't depend on systemd #637

Open
danimesq opened this issue Dec 21, 2019 · 5 comments
Open

Don't depend on systemd #637

danimesq opened this issue Dec 21, 2019 · 5 comments
Labels
good first issue Low complexity, good for new contributors help wanted Input from contributors wanted linux Operating system-specific packaging Related to packaging, rather than Yggdrasil itself

Comments

@danimesq
Copy link

danimesq commented Dec 21, 2019

Unpacking yggdrasil (0.3.9) ...
dpkg: error processing archive yggdrasil-0.3.9-i386.deb (--install):
unable to create '/etc/systemd/system/yggdrasil.service.dpkg-new' (while processing 'etc/systemd/system/yggdrasil.service'): No such file or directory
Errors were encountered while processing:
yggdrasil-0.3.9-i386.deb

There are Linux distros such as AntiX (Debian) and Gentoo which doesn't uses systemd. Can't install yggdrasil in those.

@neilalexander
Copy link
Member

This will require alternative packages to be created.

@neilalexander neilalexander added linux Operating system-specific good first issue Low complexity, good for new contributors help wanted Input from contributors wanted labels Dec 21, 2019
@danimesq
Copy link
Author

Yggdrasil isn't distributed for Gentoo?
About .deb, the installer can first verify if the distro uses systemd before working with 'etc/systemd/system/yggdrasil.service'.

@neilalexander
Copy link
Member

I’m not aware that anyone has created a Gentoo package yet.

@janicez
Copy link

janicez commented Feb 25, 2020

Installing manually (i.e. with ./build) on FreeBSD works fine. systemd isn't even /available/ for that platform.

Thin would be better directed at yggdrasil-go-packagers (which needs to be a thing, because it's not yet)

@wstrm
Copy link
Contributor

wstrm commented Mar 5, 2020

I have had Gentoo ebuilds in my overlay for a while: https://github.com/wstrm/gentoo-overlay/blob/master/net-p2p/yggdrasil-go/yggdrasil-go-0.3.13.ebuild

Supports both Systemd and OpenRC on Gentoo.

You can add my overlay:

eselect repository enable optmzr

Or just copy and paste the ebuild and install with the ebuild command.

I've been looking into adding it to Gentoo, but I haven't had time.

@neilalexander neilalexander added the packaging Related to packaging, rather than Yggdrasil itself label Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Low complexity, good for new contributors help wanted Input from contributors wanted linux Operating system-specific packaging Related to packaging, rather than Yggdrasil itself
Projects
None yet
Development

No branches or pull requests

4 participants