diff options
author | Gonéri Le Bouder <goneri@lebouder.net> | 2019-05-09 18:35:17 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-05-09 18:35:17 +0000 |
commit | 7193b80e4ade638880bd66b1f208c049ffa24479 (patch) | |
tree | 0df94234befe0e5c34761de3c7091475f6121a7a | |
parent | ce5fe3a20e86c4745d0310bb9c344d1344d9684c (diff) | |
download | vyos-cloud-init-7193b80e4ade638880bd66b1f208c049ffa24479.tar.gz vyos-cloud-init-7193b80e4ade638880bd66b1f208c049ffa24479.zip |
freebsd: add chpasswd pkg in the image
cc_set_passwords.py depends on chpasswd binary.
-rwxr-xr-x | tools/build-on-freebsd | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/build-on-freebsd b/tools/build-on-freebsd index d23fde2b..dc3b9747 100755 --- a/tools/build-on-freebsd +++ b/tools/build-on-freebsd @@ -9,6 +9,7 @@ fail() { echo "FAILED:" "$@" 1>&2; exit 1; } depschecked=/tmp/c-i.dependencieschecked pkgs=" bash + chpasswd dmidecode e2fsprogs py27-Jinja2 @@ -17,6 +18,7 @@ pkgs=" py27-configobj py27-jsonpatch py27-jsonpointer + py27-jsonschema py27-oauthlib py27-requests py27-serial @@ -28,12 +30,9 @@ pkgs=" [ -f "$depschecked" ] || pkg install ${pkgs} || fail "install packages" touch $depschecked -# Required but unavailable port/pkg: py27-jsonpatch py27-jsonpointer -# Luckily, the install step will take care of this by installing it from pypi... - # Build the code and install in /usr/local/: -python setup.py build -python setup.py install -O1 --skip-build --prefix /usr/local/ --init-system sysvinit_freebsd +python2.7 setup.py build +python2.7 setup.py install -O1 --skip-build --prefix /usr/local/ --init-system sysvinit_freebsd # Enable cloud-init in /etc/rc.conf: sed -i.bak -e "/cloudinit_enable=.*/d" /etc/rc.conf |