fix auto kernel submodule initialization

This commit is contained in:
Adeeb Shihadeh
2021-09-28 17:02:40 -07:00
parent 2fd060290b
commit 0a8468bf16
+2 -2
View File
@@ -11,8 +11,8 @@ BOOT_IMG=./boot.img
cd $DIR
# Clone kernel if not done already
if [ ! -d agnos-kernel-sdm845 ]; then
git submodule init agnos-kernel-sdm845
if git submodule status --cached agnos-kernel-sdm845/ | grep "^-"; then
git submodule update --init agnos-kernel-sdm845
fi
cd agnos-kernel-sdm845