Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Support Bedrock Linux Environments? #745

Closed
Merith-TK opened this issue Jul 17, 2021 · 4 comments
Closed

Support Bedrock Linux Environments? #745

Merith-TK opened this issue Jul 17, 2021 · 4 comments

Comments

@Merith-TK
Copy link

I feel like topgrade should support bedrock Linux environments as it would allow easily updating all Strata's at once

For example, I run a Ubuntu Primary, Arch Secondary Strata setup, Meaning the main operating system is Ubuntu, but has a subsystem for arch setup so I can use the AUR.

But even with topgrade right now, I have to manually run yay -Syu,

@Merith-TK
Copy link
Author

This probably could probably be done by checking if a program exists in $PATH and if it does, include it.

If there is a config option I can use to achieve this, let me know.

@r-darwish
Copy link
Owner

r-darwish commented Jul 18, 2021

Can you please post your /etc/os-release from a bedrock installation?

I've read about Bedrock Linux a bit. What should be the expected behavoiur? Should it try to run all linux package managers that it knows?

@Merith-TK
Copy link
Author

Can you please post your /etc/os-release from a bedrock installation?

For bedrock systems you need to check /bedrock/etc/os-release but here is both!
image

I've read about Bedrock Linux a bit. What should be the expected behavoiur? Should it try to run all linux package managers that it knows?

I was thinkig it could check the output of brl list to determine what functions to apply,

image

image

one can use strat <stratum> <command> to run commands in a specified strata
so for example
image

@Merith-TK
Copy link
Author

Merith-TK commented Jul 18, 2021

bedrock has an update command to update itself should there be an update brl update

So you can check if /bedrock/bin/brl and /bedrock/etc/os-release exists, and if so, perform all platform specific actions based off the output of brl list

r-darwish added a commit that referenced this issue Jul 19, 2021
r-darwish added a commit that referenced this issue Dec 9, 2021
* Bedrock Linux (fix #745)

* Add more distributions

* fix

* fix

* Fix

* Merge

* Move pacnew to the correct location

* Version bump

* Correct spelling for GNOME Shell extensions update (#778)

* fix gnome shell extensions update object path (#788)

* config: ArchPackageManager should be snake_case (#784)

* config: ArchPackageManager should be snake_case

* Remove unnecessary strum macro

* Add arch_package_manager to config.example.toml

* Add release pipeline

* Run GNOME update only when using GNOME

* Delete travis file and appveyor

* Bump

* Support rust 1.51.0 (#789)

* Cross compilation

* Bump

* fix: GNOME detection for customized version (#790)

Signed-off-by: Noel Georgi <git@frezbo.dev>

* Add a flag to disable showing Arch Linux news (fix #786)

* Bump

* Update pacstall (fix #769)

* Add an option to force vim plug update (#795)

* Add an option to force vim plug update (fix #751)

* Rustfmt

* Update src/config.rs

Co-authored-by: M*C*O <mcofficer@gmx.de>

Co-authored-by: M*C*O <mcofficer@gmx.de>

* Add new step pacdiff (#796)

* Add Support for Spicetify (#798)

* Look for ~/.config/emacs directory in Windows (fix #766)

* Pass --force to doom when -y is set (fix #799)

* Implement cleanup for flatpak (#801)

* Cleanup flatpak

* Fix compile error

* Make sure we only move our values at the very end

* Access config.cleanup() through ExecutionContext

* Improve man page (#803)

Wordings & argument format

* Avoid running remote topgrade on the current host (fix #804) (#807)

* Merge the command line and the configuration flags of --only and --disable (fix #805) (#806)

* Merge the command line and the configuration flags of --only and --disable (fix #805)

* Fix

* Fix rust requirement in the readme

* Selective yes (fix #802) (#808)

* Selective yes flag (fix #802)

* Selective yes flag (fix #802)

* selective yes

* MacOS

* Fix bedrock detection

* Bedrock fixes

* format

* Fedora fixes

Co-authored-by: Björn Daase <bjoern.daase@gmail.com>
Co-authored-by: modularTaco <37046961+modularTaco@users.noreply.github.com>
Co-authored-by: M*C*O <mcofficer@gmx.de>
Co-authored-by: Noel Georgi <git@frezbo.dev>
Co-authored-by: Manuel Hässig <mhaessig@users.noreply.github.com>
Co-authored-by: Janek <27jf@pm.me>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants