summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authorThiago Abdo2019-10-10 15:12:32 +0200
committerThiago Abdo2019-10-10 15:12:32 +0200
commit654de68ba17a750032ba8b8c6f5fc0562a2c214b (patch)
tree02c44be13e9262f3f80b20cab3522a94df4e158f /builder
parentPatches to dnbd3-ng centos8 (diff)
downloadsystemd-init-654de68ba17a750032ba8b8c6f5fc0562a2c214b.tar.gz
systemd-init-654de68ba17a750032ba8b8c6f5fc0562a2c214b.tar.xz
systemd-init-654de68ba17a750032ba8b8c6f5fc0562a2c214b.zip
change default branch
Signed-off-by: Thiago Abdo <tjabdo@inf.ufpr.br>
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/build-initramfs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index d306cf30..9cf0b641 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -24,7 +24,7 @@
declare -rg _root_dir="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
declare -rg _repo_dir="${_root_dir}/systemd-init.git"
declare -rg _git_source="git://git.openslx.org/openslx-ng/systemd-init.git"
-declare -rg _git_branch="master"
+declare -rg _git_branch="centos8"
## region ensure presence of needed dependencies
set -o errexit
if [ ! -e "$_repo_dir" ]; then
@@ -45,7 +45,7 @@ if [ ! -e "$_repo_dir" ]; then
branch="$(git config -f .gitmodules --get submodule.${mod}.branch)"
commit="$(git submodule status $path | grep -oE '[0-9a-f]{40}')"
depth_arg=("--shallow-since")
- [ "$mod" = "dnbd3" ] && depth_arg+=("2019-02-12") && url="git://git.openslx.org/dnbd3-ng.git"
+ [ "$mod" = "dnbd3" ] && depth_arg+=("2019-02-12") && url="git://git.openslx.org/dnbd3-ng.git" && commit="a6ddfe1212a2df72cacb0f44cc872b1bd0363c38"
[ "$mod" = "rebash" ] && depth_arg+=("2016-11-30")
[ "$mod" = "qemu-xmount" ] && depth_arg+=("2016-01-01")
[ "$mod" = "xmount" ] && depth_arg+=("2015-11-05")