Add support for including python wheel plugins in apps
If an application RPM contains a plugins directory, stage the contents for packaging with tarball. Change-Id: Idc47f39c7180407b85ff50d4e7cd7ab6444905ec Story: 2006537 Task: 36979 Signed-off-by: Robert Church <robert.church@windriver.com>
This commit is contained in:
parent
18e81255a3
commit
3687c0b998
@ -451,6 +451,15 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Stage all the plugin wheels, if present
|
||||
if [ -d "plugins" ]; then
|
||||
cp -R plugins staging/plugins
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to copy the wheels from ${BUILD_OUTPUT_PATH}/wheels to ${BUILD_OUTPUT_PATH}/staging/plugins" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Stage metadata file, if present
|
||||
if [ -e usr/lib/application/metadata.yaml ]; then
|
||||
cp usr/lib/application/metadata.yaml staging/.
|
||||
|
Loading…
x
Reference in New Issue
Block a user