summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-08-15 15:26:30 +0200
committerSimon Rettberg2019-08-15 15:26:30 +0200
commit712ff3fe6e7829ed15f3429c37d7cd381a740f76 (patch)
treeeb7c376df9d9bef93fdad76143dae0fb88f06149
parent[kiosk-chromium] add '--test-type' (diff)
downloadmltk-712ff3fe6e7829ed15f3429c37d7cd381a740f76.tar.gz
mltk-712ff3fe6e7829ed15f3429c37d7cd381a740f76.tar.xz
mltk-712ff3fe6e7829ed15f3429c37d7cd381a740f76.zip
[dnbd3] Just use default branch HEAD
-rw-r--r--core/modules/dnbd3/module.build8
-rw-r--r--core/modules/dnbd3/module.conf3
2 files changed, 2 insertions, 9 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
diff --git a/core/modules/dnbd3/module.conf b/core/modules/dnbd3/module.conf
index f15f8e86..9e8bf304 100644
--- a/core/modules/dnbd3/module.conf
+++ b/core/modules/dnbd3/module.conf
@@ -1,7 +1,6 @@
#!/bin/bash
REQUIRED_MODULES="kernel"
-REQUIRED_GIT="git://git.openslx.org/dnbd3.git"
-REQUIRED_COMMIT="0d8497bbb79f7eb574409c84de825067db3bd06f"
+REQUIRED_GIT="https://git.openslx.org/dnbd3.git"
REQUIRED_BINARIES="
dnbd3-client
dnbd3-fuse