Make prepare_kernel.sh more safe

This commit is contained in:
Xianjun Jiao 2023-01-17 14:39:09 +01:00
parent ef526178fb
commit 49daf26a3e

View File

@ -70,7 +70,7 @@ git reset --hard
cd $OPENWIFI_DIR/
git submodule update $LINUX_KERNEL_SRC_DIR_NAME
cd $OPENWIFI_DIR/$LINUX_KERNEL_SRC_DIR_NAME
git fetch origin 2021_r1
git fetch
git checkout 2021_r1
git pull origin 2021_r1
git reset --hard 2021_r1