diff options
author | Simon Rettberg | 2019-08-15 15:26:30 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-08-15 15:26:30 +0200 |
commit | 712ff3fe6e7829ed15f3429c37d7cd381a740f76 (patch) | |
tree | eb7c376df9d9bef93fdad76143dae0fb88f06149 /core/modules/dnbd3/module.build | |
parent | [kiosk-chromium] add '--test-type' (diff) | |
download | mltk-712ff3fe6e7829ed15f3429c37d7cd381a740f76.tar.gz mltk-712ff3fe6e7829ed15f3429c37d7cd381a740f76.tar.xz mltk-712ff3fe6e7829ed15f3429c37d7cd381a740f76.zip |
[dnbd3] Just use default branch HEAD
Diffstat (limited to 'core/modules/dnbd3/module.build')
-rw-r--r-- | core/modules/dnbd3/module.build | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/core/modules/dnbd3/module.build b/core/modules/dnbd3/module.build index 67411ca6..48fa7c7b 100644 --- a/core/modules/dnbd3/module.build +++ b/core/modules/dnbd3/module.build @@ -1,13 +1,7 @@ #!/bin/bash fetch_source() { mkdir -p "src/kmod" - if [ ! -d "src/dnbd3" ]; then - git clone "$REQUIRED_GIT" "src/dnbd3" || perror "Could not clone dnbd3 git repo" - fi - cd src/dnbd3 - #git checkout "$REQUIRED_BRANCH" || perror "Could not checkout requested branch $REQUIRED_BRANCH" - git checkout "$REQUIRED_COMMIT" || perror "Could not checkout requested commit $REQUIRED_COMMIT" - cd - + autoclone cp src/dnbd3/Kbuild.in src/dnbd3/src/*.{c,h} src/dnbd3/src/kernel/*.{c,h} src/kmod/ || perror "Could not copy kernel module source files" cat > "src/kmod/Makefile" <<HEREEND include \$(PWD)/Kbuild.in |