mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-09-27 01:43:48 +08:00
fix auto kernel submodule initialization
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user