summaryrefslogtreecommitdiffstats
path: root/remote/modules/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/kernel')
-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"