test/container: ensure koji plugin paths exist
When using the local plugin, ensure the destination plugin path exists before copying, otherwise it will fail.
This commit is contained in:
parent
ba25e0f3d7
commit
8705c0aa68
2 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
|||
/share/rpms/koji-osbuild-builder-*.rpm
|
||||
else
|
||||
echo "Using local plugin"
|
||||
mkdir -p /usr/lib/koji-builder-plugins/
|
||||
cp /share/plugins/builder/osbuild.py /usr/lib/koji-builder-plugins/
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
|||
/share/rpms/koji-osbuild-hub-*.rpm
|
||||
else
|
||||
echo "Using local plugin"
|
||||
mkdir -p /usr/lib/koji-hub-plugins/
|
||||
cp /share/plugins/hub/osbuild.py /usr/lib/koji-hub-plugins/
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue