Since the overlayfs PR for waydroid has been merged, I think it's time to update this script. This PR makes all installs don't directly modify the image
Since the overlayfs PR for waydroid has been merged, I think it's time to update this script. This PR makes all installs don't directly modify the image
Since the overlayfs PR for waydroid has been merged, I think it's time to update this script. This PR makes all installs don't directly modify the image
Sure, let me set up waydroid and see if things work as expected. If you have been testing and can confirm it works i can merge right away !
> Since the overlayfs PR for waydroid has been merged, I think it's time to update this script. This PR makes all installs don't directly modify the image
Sure, let me set up waydroid and see if things work as expected. If you have been testing and can confirm it works i can merge right away !
Waydroid 1.4.0 isn't tagged (https://github.com/waydroid/waydroid/tags), can you please try to retain the old functionality behind a version check until that is the case (or just wait with this PR till that happens?)
Waydroid 1.4.0 isn't tagged (https://github.com/waydroid/waydroid/tags), can you please try to retain the old functionality behind a version check until that is the case (or just wait with this PR till that happens?)
Another solution may be to create a 1.3.x branch I guess without these changes, but then you'll have to provide people instructions based on which version they have installed, and there's no proper way to tell if you have "1.4.0" other than grepping the scripts themselves for something the new features added.
For context distributions shipping Waydroid in their repos will typically want to only use released versions instead of random tips of branches or arbitrary git revisions of software.
Another solution may be to create a `1.3.x` branch I guess without these changes, but then you'll have to provide people instructions based on which version they have installed, and there's no proper way to tell if you have "1.4.0" other than grepping the scripts themselves for something the new features added.
For context distributions shipping Waydroid in their repos will typically want to only use released versions instead of random tips of branches or arbitrary git revisions of software.
I should note that it is possible to opt-out of D-Bus service activation entirely in Waydroid 1.4.0, see USE_DBUS_ACTIVATION variable in https://github.com/waydroid/waydroid/blob/main/Makefile; from what I can tell this check would make it impossible to install Magisk on a Waydroid installation with USE_DBUS_ACTIVATION=0 set (since there would be no id.waydro.Container.service)
I should note that it is possible to opt-out of D-Bus service activation entirely in Waydroid 1.4.0, see `USE_DBUS_ACTIVATION` variable in https://github.com/waydroid/waydroid/blob/main/Makefile; from what I can tell this check would make it impossible to install Magisk on a Waydroid installation with `USE_DBUS_ACTIVATION=0` set (since there would be no `id.waydro.Container.service`)
Another solution may be to create a 1.3.x branch I guess without these changes, but then you'll have to provide people instructions based on which version they have installed, and there's no proper way to tell if you have "1.4.0" other than grepping the scripts themselves for something the new features added.
> Another solution may be to create a `1.3.x` branch I guess without these changes, but then you'll have to provide people instructions based on which version they have installed, and there's no proper way to tell if you have "1.4.0" other than grepping the scripts themselves for something the new features added.
I think it might be better to create a 1.3.x branch. I've made some fixes to the existing script, we can merge this into the 1.3.x branch first. https://github.com/ayasa520/waydroid_script/tree/1.3
Waydroid 1.4.0 isn't tagged (https://github.com/waydroid/waydroid/tags), can you please try to retain the old functionality behind a version check until that is the case (or just wait with this PR till that happens?)
I think waiting for 1.4.0 is tagged would be good ! Creating new branch or 1.3.x may create confusion among users that try to use the main branch as usual !
> Waydroid 1.4.0 isn't tagged (https://github.com/waydroid/waydroid/tags), can you please try to retain the old functionality behind a version check until that is the case (or just wait with this PR till that happens?)
I think waiting for 1.4.0 is tagged would be good ! Creating new branch or 1.3.x may create confusion among users that try to use the main branch as usual !
@cobalt2727 Those e2fsck & resize2fs "errors" are perfectly fine because that's just how those dumb programs work, they print their version to stderr (instead of stdout) every time they're used.
I wonder if it's possible to only silence those from being output to stderr without destroying all potential actually useful error output with 2>/dev/null; could route stderr to stdout somehow and filter output with something similar to grep -v but meh.
@cobalt2727 Those `e2fsck` & `resize2fs` "errors" are perfectly fine because that's just how those dumb programs work, they print their version to `stderr` (instead of `stdout`) every time they're used.
I wonder if it's possible to only silence those from being output to `stderr` without destroying all potential actually useful error output with `2>/dev/null`; could route `stderr` to `stdout` somehow and filter output with something similar to `grep -v` but meh.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Since the overlayfs PR for waydroid has been merged, I think it's time to update this script. This PR makes all installs don't directly modify the image
Sure, let me set up waydroid and see if things work as expected. If you have been testing and can confirm it works i can merge right away !
Waydroid 1.4.0 isn't tagged (https://github.com/waydroid/waydroid/tags), can you please try to retain the old functionality behind a version check until that is the case (or just wait with this PR till that happens?)
Another solution may be to create a
1.3.xbranch I guess without these changes, but then you'll have to provide people instructions based on which version they have installed, and there's no proper way to tell if you have "1.4.0" other than grepping the scripts themselves for something the new features added.For context distributions shipping Waydroid in their repos will typically want to only use released versions instead of random tips of branches or arbitrary git revisions of software.
I should note that it is possible to opt-out of D-Bus service activation entirely in Waydroid 1.4.0, see
USE_DBUS_ACTIVATIONvariable in https://github.com/waydroid/waydroid/blob/main/Makefile; from what I can tell this check would make it impossible to install Magisk on a Waydroid installation withUSE_DBUS_ACTIVATION=0set (since there would be noid.waydro.Container.service)Here I think it can be changed to check whether
/var/lib/waydroid/rootfs/system/etc/init/bootanim.rcexistsI think it might be better to create a 1.3.x branch. I've made some fixes to the existing script, we can merge this into the 1.3.x branch first. https://github.com/ayasa520/waydroid_script/tree/1.3
I will add instructions to README and add a necessary check to the script.
I think waiting for 1.4.0 is tagged would be good ! Creating new branch or 1.3.x may create confusion among users that try to use the main branch as usual !
I refactored the script, now it should work for all cases
This doesn't seem to work properly on Ubuntu 22.04 for some reason:
@casualsnek @ayasa520
I'd be glad to help debug this, just not really sure where to start.
@cobalt2727 Those
e2fsck&resize2fs"errors" are perfectly fine because that's just how those dumb programs work, they print their version tostderr(instead ofstdout) every time they're used.I wonder if it's possible to only silence those from being output to
stderrwithout destroying all potential actually useful error output with2>/dev/null; could routestderrtostdoutsomehow and filter output with something similar togrep -vbut meh.