Skip to content

Commit

Permalink
use --depth 1 to save some space
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Jan 23, 2024
1 parent be8909d commit ce42558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ function fetch_SBC_source() {
mkdir -p $SRC_DIR/workdir
echo "Download the kernel source"
echo "------------------------------"
git clone ${KERNEL_REPO} ${LINUX_DIR} || exit 1
# Use --depth 1 to save some space on unneccessary huge git log
git clone ${KERNEL_REPO} ${LINUX_DIR} --depth 1 || exit 1
pushd ${LINUX_DIR}
#git checkout 20cb6d7b533b5e6d7df8a2cb7a83bd4555834bde || exit 1
popd
Expand Down

0 comments on commit ce42558

Please sign in to comment.