install probert and curtin via Makefile for testing

rather than pip or apt respectively
This commit is contained in:
Michael Hudson-Doyle 2021-07-02 13:49:40 +12:00
parent 50ce450f2a
commit f9410e4e86
2 changed files with 5 additions and 3 deletions

View File

@ -13,4 +13,3 @@ requests
requests-unixsocket
yarl==1.5.1 # see https://github.com/aio-libs/aiohttp/issues/4972
aiohttp
-e git+https://github.com/canonical/probert@b697ab779e7e056301e779f4708a9f1ce51b0027#egg=probert

View File

@ -11,6 +11,9 @@ ConditionPathExists=/dev/zfs
EOF
cp -r /etc/systemd/system/zfs-mount.service.d/ /etc/systemd/system/zfs-share.service.d/
systemctl daemon-reload
apt-get install -o APT::Get::Always-Include-Phased-Updates=true -y --no-install-recommends libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libsystemd-dev python3-distutils-extra pkg-config python3.5 python3-pip git lsb-release python3-setuptools gcc python3-dev python3-wheel curtin pep8 python3-pyflakes python3-bson make
apt-get install -o APT::Get::Always-Include-Phased-Updates=true -y --no-install-recommends libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libsystemd-dev python3-distutils-extra pkg-config python3.5 python3-pip git lsb-release python3-setuptools gcc python3-dev python3-wheel pep8 python3-pyflakes python3-bson make
pip3 install -r requirements.txt
python3 setup.py build
make gitdeps
PYTHONPATH=.:./curtin:./probert python3 setup.py build