This commit is contained in:
root 2024-05-20 10:34:45 +00:00
parent ec74b0b40f
commit 99da1398b5

View File

@ -36,7 +36,7 @@ install-gns3: install-gns3-deps check-deps-path install-busybox-static install-p
build-gns3-server: build-gns3-server:
git clone --depth 1 https://github.com/GNS3/gns3-server.git; true 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 cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.47
python3 -m pip install --upgrade pip --break-system-packages python3 -m pip install --upgrade pip --break-system-packages
cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install 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 ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm;true
@ -67,7 +67,7 @@ build-gns3-ubridge:
upgrade-gns3-server: upgrade-gns3-server:
git clone --depth 1 https://github.com/GNS3/gns3-server.git; true 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 cd gns3-server && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && git pull origin && git checkout tags/v2.2.47
python3 -m pip install --upgrade pip --break-system-packages python3 -m pip install --upgrade pip --break-system-packages
systemctl stop gns3.service systemctl stop gns3.service
cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install cd gns3-server && pip3 install -r requirements.txt --break-system-packages && python3 setup.py install