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

Distribution Request: Bedrock Linux #76

Open
sheeepdev opened this issue Dec 5, 2021 · 6 comments
Open

Distribution Request: Bedrock Linux #76

sheeepdev opened this issue Dec 5, 2021 · 6 comments

Comments

@sheeepdev
Copy link

I would love it if you could add Bedrock Linux to afetch

The problem is with bedrock, its basically a distro which allows you to mix and match components (like an easy LFS) but I have no idea how you could get the info for it. I don't know if I have explained it correctly, if I haven't I would suggest you to read the documentation on their website or run the hijacker on some spare system then run thru the tutorial

Bedrock has its own "package manager" which updates other package managers (thats why its called "pmm" (package manager manager) but I wouldn't use that as a package count in the fetch because I think its better to use the original distro's package manager

@13-CF
Copy link
Owner

13-CF commented Dec 6, 2021

If the pmm package manager is exclusive to Bedrock Linux then that could be checked for in order to determine that the distro is Bedrock.
I think you may be right about the package count though, I'd need to read up a bit on how the package manager works.

@sheeepdev
Copy link
Author

sheeepdev commented Dec 6, 2021

If the pmm package manager is exclusive to Bedrock Linux then that could be checked for in order to determine that the distro is Bedrock. I think you may be right about the package count though, I'd need to read up a bit on how the package manager works.

Yeah, you could probably check if the pmm command exists on the system, and if it does, you can determine that the distro is Bedrock.

@sheeepdev
Copy link
Author

sheeepdev commented Dec 11, 2021

I found a snippet of code from dylanaraps/pfetch that can help you identify bedrock:

# Check to see if we're running Bedrock Linux which is
# very unique. This simply checks to see if the user's
# PATH contains a Bedrock specific value.
case $PATH in
  (*/bedrock/cross/*)
  distro='Bedrock Linux'
  ;;
 esac

@sheeepdev
Copy link
Author

Any updates on this?

@sheeepdev
Copy link
Author

?

@sheeepdev
Copy link
Author

@13-CF

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

2 participants