summaryrefslogtreecommitdiffstats
path: root/modules.d/busybox/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/busybox/module-setup.sh')
-rwxr-xr-xmodules.d/busybox/module-setup.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/modules.d/busybox/module-setup.sh b/modules.d/busybox/module-setup.sh
index b068eabc..84edfd96 100755
--- a/modules.d/busybox/module-setup.sh
+++ b/modules.d/busybox/module-setup.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-[ -z "$BB_GIT" ] && declare -rg BB_GIT="git://git.busybox.net/busybox"
-[ -z "$BB_BRANCH" ] && declare -rg BB_BRANCH="1_31_1"
+[ -z "$BB_GIT" ] && declare -rg BB_GIT="https://git.busybox.net/busybox"
+[ -z "$BB_BRANCH" ] && declare -rg BB_BRANCH="1_36_1"
build() (
local base_url="https://git.openslx.org/openslx-ng/mltk.git/plain/core/modules/busybox/"
@@ -8,8 +8,11 @@ build() (
git clone --depth 1 "$BB_GIT" --branch "$BB_BRANCH" "${moddir}/src"
# apply patches
cd "${moddir}/src"
- for _patch in "$base_url"/{fbsplash-fillbg,1_31_1-stime,rtcwake-compat,timeout-compat}.patch ; do
- curl "$_patch" | git apply - || derror "Failed to apply: $_patch"
+ for _patch in "$base_url"/{fbsplash-fillbg,rtcwake-compat}.patch ; do
+ if ! curl -m 10 -L "$_patch" | git apply -; then
+ derror "Failed to apply: $_patch"
+ return 1
+ fi
done
cp "${moddir}/openslx.config" "${moddir}/src/.config"
yes '' | make oldconfig