File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,18 +8,22 @@ _is_cmd() {
88}
99
1010_check_kernel() (
11- f=/proc/config.gz
12- [ -r "$f" ] || return 0
13- if ! zcat "$f" | grep -q -m -1 'CONFIG_ANDROID_BINDER_IPC_RUST'; then
14- zenity --width=555 --warning --text "$(cat <<-EOF
15- Your kernel is missing the rust_binder module, which is needed by waydroid
11+ a=CONFIG_ANDROID_BINDER_IPC_RUST
12+ if zcat /proc/config.gz | grep -q -m -1 "$a" ; then
13+ return 0
14+ elif grep -q -m 1 "$a" /usr/lib*/modules/*/build/.config; then
15+ return 0
16+ elif grep -q -m 1 "$a" /lib*/modules/*/build/.config; then
17+ return 0
18+ fi
19+ zenity --width=555 --warning --text "$(cat <<-EOF
20+ Your kernel is missing the rust_binder module, which is needed by waydroid
1621
17- You will need to either update your kernel or add it with DKMS
22+ You will need to either update your kernel or add it with DKMS
1823
19- NOTE: If this is a false positive open an issue at the AppImage repository!
20- EOF
21- )"
22- fi
24+ NOTE: If this is a false positive open an issue at the AppImage repository!
25+ EOF
26+ )"
2327)
2428
2529_get_sudo() {
You can’t perform that action at this time.
0 commit comments