diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2019-01-14 08:57:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-01-14 08:57:33 +0000 |
commit | 2d03fa76e451ec66ba02280a85efd6273ea4c866 (patch) | |
tree | b5d22fa65e9b1b162164ed9d504626d496fddb94 /mcp | |
parent | 85dbecaa4e7ef89d50653740ac82ecef4d684eb2 (diff) | |
parent | 250e40c2e9e9ec99d771b39262aac2bfdcb959c2 (diff) |
Merge "[centos] Update altarch kernel URL"
Diffstat (limited to 'mcp')
-rw-r--r-- | mcp/scripts/lib_jump_deploy.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mcp/scripts/lib_jump_deploy.sh b/mcp/scripts/lib_jump_deploy.sh index 561f2c44c..d8b62fd7c 100644 --- a/mcp/scripts/lib_jump_deploy.sh +++ b/mcp/scripts/lib_jump_deploy.sh @@ -48,17 +48,13 @@ function __kernel_modules { fi # Best-effort attempt at building a non-maintaned kernel module - local __baseurl - local __subdir + local __baseurl='http://vault.centos.org/centos' + local __subdir='Source/SPackages' local __uname_r=$(uname -r) local __uname_m=$(uname -m) if [ "${__uname_m}" = 'x86_64' ]; then - __baseurl='http://vault.centos.org/centos' - __subdir='Source/SPackages' __srpm="kernel-${__uname_r%.${__uname_m}}.src.rpm" else - __baseurl='http://vault.centos.org/altarch' - __subdir="Source/${__uname_m}/Source/SPackages" # NOTE: fmt varies across releases (e.g. kernel-alt-4.11.0-44.el7a.src.rpm) __srpm="kernel-alt-${__uname_r%.${__uname_m}}.src.rpm" fi |