Commit 2e6c8704 authored by Ophélie Gagnard's avatar Ophélie Gagnard

generation: Update slapos.libnetworkcache installation.

parent 61019077
......@@ -10,7 +10,7 @@ cd "$GIT_ROOT"/generation
source 00env.sh
# 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.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 build-dep linux
#pip install slapos.libnetworkcache
NC_DIR=strategies_slapos.libnetworkcache
NC_BRANCH=cmdline-selection
NC_DIR="${NC_BRANCH}"_slapos.libnetworkcache
cd ..
if [ ! -d "$NC_DIR" ]; then
git clone https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git "$NC_DIR"
cd "$NC_DIR"
git checkout strategies
git checkout "$NC_BRANCH"
cd ..
pip install -e "$NC_DIR"
fi
pip install packaging
cd generation
rm -f *"$MCA_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