summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorManuel Schneider2014-07-10 13:16:15 +0200
committerManuel Schneider2014-07-10 13:16:15 +0200
commit9c1e97caf9f5d7962be26a9a568dd318741a6cc0 (patch)
tree9388f65ceaeb5990da15c57f7ea7af33fe244439 /remote/modules
parentAdded moudules x11vnc and pvs2 (diff)
downloadtm-scripts-9c1e97caf9f5d7962be26a9a568dd318741a6cc0.tar.gz
tm-scripts-9c1e97caf9f5d7962be26a9a568dd318741a6cc0.tar.xz
tm-scripts-9c1e97caf9f5d7962be26a9a568dd318741a6cc0.zip
[Kernel] Fix wrong git variables
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/kernel/module.build1
-rw-r--r--remote/modules/kernel/module.conf.ubuntu4
2 files changed, 3 insertions, 2 deletions
diff --git a/remote/modules/kernel/module.build b/remote/modules/kernel/module.build
index 78179df6..1d2aad7a 100644
--- a/remote/modules/kernel/module.build
+++ b/remote/modules/kernel/module.build
@@ -23,6 +23,7 @@ get_kernel_version() {
fetch_source() {
pdebug "getting kernel sources via git ...."
[ -d ./ksrc ] && rm -rf ./ksrc
+ set -x
git clone --depth 1 "${REQUIRED_GIT}" -b "${REQUIRED_GIT_BRANCH}" ksrc || perror "Could not clone kernel git."
# check for aufs
local RSL=$(find ksrc/ -type d -name aufs)
diff --git a/remote/modules/kernel/module.conf.ubuntu b/remote/modules/kernel/module.conf.ubuntu
index 1c876d15..1cab5fcd 100644
--- a/remote/modules/kernel/module.conf.ubuntu
+++ b/remote/modules/kernel/module.conf.ubuntu
@@ -1,2 +1,2 @@
-REQUIRED_GIT_BRANCH="-b master"
-REQUIRED_GIT="git://kernel.ubuntu.com/ubuntu/ubuntu-${SYS_CODENAME}.git $REQUIRED_GIT_BRANCH"
+REQUIRED_GIT_BRANCH="master"
+REQUIRED_GIT="git://kernel.ubuntu.com/ubuntu/ubuntu-${SYS_CODENAME}.git"