Commit af3ddbf5 authored by Ophélie Gagnard's avatar Ophélie Gagnard

generation: Update slapos.libnetworkcache installation.

parent 322c8834
...@@ -10,7 +10,7 @@ cd "$GIT_ROOT"/generation ...@@ -10,7 +10,7 @@ cd "$GIT_ROOT"/generation
source 00env.sh source 00env.sh
# useful tools # useful tools
apt -y install sudo wget tree apt -y install sudo wget tree pip
git config --local user.email "ophelie.gagnard@nexedi.com" git config --local user.email "ophelie.gagnard@nexedi.com"
git config --local user.name "Ophelie Gagnard" git config --local user.name "Ophelie Gagnard"
...@@ -18,16 +18,16 @@ git config --local user.name "Ophelie Gagnard" ...@@ -18,16 +18,16 @@ git config --local user.name "Ophelie Gagnard"
apt -y install dracut-core dracut dracut-network sbsigntool pip apt -y install dracut-core dracut dracut-network sbsigntool pip
apt -y build-dep linux apt -y build-dep linux
#pip install slapos.libnetworkcache #pip install slapos.libnetworkcache
NC_DIR=strategies_slapos.libnetworkcache NC_BRANCH=cmdline-selection
NC_DIR="${NC_BRANCH}"_slapos.libnetworkcache
cd .. cd ..
if [ ! -d "$NC_DIR" ]; then if [ ! -d "$NC_DIR" ]; then
git clone https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git "$NC_DIR" git clone https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git "$NC_DIR"
cd "$NC_DIR" cd "$NC_DIR"
git checkout strategies git checkout "$NC_BRANCH"
cd .. cd ..
pip install -e "$NC_DIR" pip install -e "$NC_DIR"
fi fi
pip install packaging
cd generation cd generation
rm -f *"$MCA_PACKAGE_NAME"* rm -f *"$MCA_PACKAGE_NAME"*
rm -f *"$FLB_PACKAGE_NAME"* rm -f *"$FLB_PACKAGE_NAME"*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment