diff options
Diffstat (limited to 'remote/modules/busybox/module.build')
| -rw-r--r-- | remote/modules/busybox/module.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/remote/modules/busybox/module.build b/remote/modules/busybox/module.build index 727a334c..135ba8a1 100644 --- a/remote/modules/busybox/module.build +++ b/remote/modules/busybox/module.build @@ -1,8 +1,7 @@ fetch_source() { - git clone "${REQUIRED_GIT}" src || perror "Could not clone busybox git" + git clone --depth 1 "${REQUIRED_GIT}" --branch "$REQUIRED_BRANCH" src || perror "Could not clone busybox git" cd src || perror "Could not cd to src" - git checkout "$REQUIRED_BRANCH" || perror "Could not checkout requested branch" # Patch image centering if not patched yet if ! grep -q "bcenter_image" "miscutils/fbsplash.c"; then git apply "../fbsplash-center.patch" || perror "Could not apply busybox patch for fbsplash image centering" |
