AK3+Backend: support AMLogic devices where A-only sets slot=normal

This commit is contained in:
osm0sis committed 2023-02-08 12:53:48 -04:00
1 parent 950b8e5711
commit c2e33f95d1
2 files changed
+2

No files matched your search

@@ -38,6 +38,7 @@ find_slot() {
[ "$slot" ] || slot=$($BB grep -o 'androidboot.slot=.*$' /proc/cmdline | $BB cut -d\ -f1 | $BB cut -d= -f2);
[ "$slot" ] && slot=_$slot;
fi;
[ "$slot" == "normal" ] && unset slot;
[ "$slot" ] && echo "$slot";
}
setup_mountpoint() {