Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mosaic5g
mosaic5g
Commits
da875c2e
Commit
da875c2e
authored
Mar 15, 2020
by
nikaeinn
Browse files
Update the build_m5g to support new oai-cn snaps and kube5G
parent
e2110d4e
Changes
1
Show whitespace changes
Inline
Side-by-side
build_m5g
View file @
da875c2e
...
...
@@ -112,7 +112,7 @@ store_branch=develop
kube5g_path
=
$m5g_path
/kube5g
kube5g_sdk
=
$m5g_path
/kube5g
kube5g_branch
=
master
kube5g_branch
=
develop
echo_info
"Mosaic5G Path:
$m5g_path
"
echo_info
"FlexRAN Path:
$rtc_path
"
...
...
@@ -252,7 +252,8 @@ install_required_packages_kube5g(){
$SUDO
$os_pm
update
-y
$SUDO
$os_pm
install
-y
\
docker.io docker-compose
docker.io
\
docker-compose
}
...
...
@@ -509,10 +510,12 @@ build_jox(){
build_kube5g
(){
git submodule init
git submodule update kube5g
cd
$kube5g
git checkout
$kube5g_branch
cd
-
echo_success
"Built kube5g
$kube5g_branch
branch"
}
...
...
@@ -531,7 +534,10 @@ build_m5g (){
#Control apps and Orch
build_store
build_jox
build_kube5g
}
declare
-a
oaicn_snaps
=(
"oai-mme"
"oai-hss"
"oai-spgwc"
"oai-spgwu"
)
snap_m5g_module
(){
echo
"Snapping
$1
"
...
...
@@ -546,6 +552,15 @@ snap_m5g_module(){
fi
echo
"snap
$op
$1
--channel=edge --devmode"
sudo
snap
$op
$1
--channel
=
edge
--devmode
if
[
"
$1
"
=
"oai-cn"
]
;
then
for
s
in
"
${
oaicn_snaps
[@]
}
"
do
echo
"snap
$s
--channel=edge --devmode"
sudo
snap
$s
--channel
=
edge
--devmode
done
fi
echo
"-----------------------------------"
echo
"
$1
SNAP INFO "
echo
"-----------------------------------"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment