Actually use ironic-python-agent from source in source builds

Currently the DIB element unconditionally clones it.

Change-Id: I096940d6e0801200276f952ae5afc05402f9e473
This commit is contained in:
Dmitry Tantsur 2020-02-10 15:48:35 +01:00
parent 55b7d43291
commit 25db126071

View File

@ -2557,6 +2557,8 @@ function build_ipa_dib_ramdisk {
ELEMENTS_PATH="$IRONIC_PYTHON_AGENT_BUILDER_DIR/dib" \
DIB_DHCP_TIMEOUT=$IRONIC_DIB_DHCP_TIMEOUT \
DIB_RELEASE=$IRONIC_DIB_RAMDISK_RELEASE \
DIB_REPOLOCATION_ironic_python_agent="$IRONIC_PYTHON_AGENT_DIR" \
DIB_REPOLOCATION_requirements="$DEST/requirements" \
disk-image-create "$IRONIC_DIB_RAMDISK_OPTIONS" \
-x -o "$tempdir/ironic-agent" \
ironic-python-agent-ramdisk