diff --git a/Makefile b/Makefile index 1fae62a..4f3e8c1 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ install-gns3: install-gns3-deps check-deps-path install-busybox-static install-p build-gns3-server: git clone --depth 1 https://github.com/GNS3/gns3-server.git; true - cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.45 + cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.46 python3 -m pip install --upgrade pip --break-system-packages cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm;true @@ -63,7 +63,9 @@ build-gns3-ubridge: cd ubridge && make && make install upgrade-gns3-server: - git clone --depth 1 https://github.com/GNS3/gns3-server.git + git clone --depth 1 https://github.com/GNS3/gns3-server.git; true + cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.46 + python3 -m pip install --upgrade pip --break-system-packages systemctl stop gns3.service cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install systemctl start gns3.service