
After moving system application plugins to /var/stx_app/plugins, platform-integ-apps fails. The reason of failing is because the new plugins path is not searchable by python. This is to fix the issue by adding the new plugins path to python path. Passed: provision starlingx (Centos) and successfully apply platform-integ-apps Passed: provision starlingx (Debian) and successfully apply platform-integ-apps Change-Id: I24909d0fcfbf65eb69bb4d6e633d2c8e334d098f Closes-bug: https://bugs.launchpad.net/starlingx/+bug/1972019 Signed-off-by: Bin Qian <bin.qian@windriver.com>
7 lines
138 B
Python
7 lines
138 B
Python
import site
|
|
|
|
# Add a writable location to sys.path for discovery of
|
|
# application plugin modules
|
|
site.addsitedir('/var/stx_app/plugins')
|
|
|