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 support for VoidLinux and Ultramarine #364

Closed
wants to merge 0 commits into from

Conversation

MysticalDevil
Copy link
Contributor

Fix the Ultramarine support.
Add support for VoidLinux, a rolling release linux based on the monolithic kernel.
os-release file:

NAME="Void"
ID="void"
PRETTY_NAME="Void Linux"
HOME_URL="https://voidlinux.org/"
DOCUMENTATION_URL="https://docs.voidlinux.org/"
LOGO="void-logo"
ANSI_COLOR="0;38;2;71;128;97"
DISTRIB_ID="void"

@MysticalDevil
Copy link
Contributor Author

Sorry, I made a mistake.

diff --git a/os_info/src/linux/lsb_release.rs b/os_info/src/linux/lsb_release.rs
index ff6b903..0d0f69f 100644
--- a/os_info/src/linux/lsb_release.rs
+++ b/os_info/src/linux/lsb_release.rs
@@ -43,7 +43,7 @@ pub fn get() -> Option<Info> {
         Some("SUSE") => Type::SUSE,
         Some("Ubuntu") => Type::Ubuntu,
         Some("Ultramarine") => Type::Ultramarine,
-        Some("Void") => Type::Void,
+        Some("VoidLinux") => Type::Void,
         _ => Type::Linux,
     };

@stanislav-tkach
Copy link
Owner

Thank you for the pull request! I have merged #363, so the Ultramarine part should be fixed now. Can you please update the pull request?

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.

2 participants