Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified host/docker/aic-manager/bin/aic-manager-entry
Binary file not shown.
Binary file modified host/docker/android/android-entry
Binary file not shown.
16 changes: 10 additions & 6 deletions host/docker/scripts/aic
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,16 @@ function mount_binderfs() {
fi
umount_binderfs

while [ -z "$(grep -e "binderfs_module" /proc/modules)" ]
do
echo "[AIC] Waiting for binderfs module installed..."
sleep 1
done

binder_kernel_config=`cat /lib/modules/$(uname -r)/build/.config 2>/dev/null | grep CONFIG_ANDROID_BINDERFS | cut -d "=" -f 2`
if [ "$binder_kernel_config" == "y" ];then
echo "Host kernel is compiled with CONFIG_ANDROID_BINDERFS=y, skip waiting for binder_linux module to be loaded..."
else
while [ -z "$(grep -e "binder_linux" /proc/modules)" ]
do
echo "[AIC] Waiting for binderfs module installed..."
sleep 1
done
fi
sudo mount -t binder binder /dev/binderfs
}

Expand Down