]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_ext: Add support for PR service
authorMark Hatle <mark.hatle@xilinx.com>
Fri, 26 Mar 2021 00:16:44 +0000 (19:16 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Mar 2021 23:05:43 +0000 (00:05 +0100)
commite207dabdfaa07cd5ebba1cd7dd58610f7185c7e2
tree99252e68d7a2ca1090f970ac7ec0d81ad1e15dc0
parenta1ce702bb5317712083ae32332051c36923c4a50
populate_sdk_ext: Add support for PR service

In the classes/populate_sdk_ext.bbclass the system already copies a number
of configurations, such as the hash equivalency data.  However, the PR
service was being handled.

The new code works by checking if PRSERV_HOST is defined, if it is, use
the existing export functions to write out a conf/prserv.inc file into
the eSDK.  On eSDK install, if a conf/prserv.inc file is present we then
import this file into the system.

This mechanism will work if the PRSERV_HOST is local or remote, as it pulls
the necessary data from the server and then imports it to a local database
on eSDK installation.

Note: the conf/prserv.inc file is not deleted at this time.  It was left
for possible debugging purposes, but removing it is something we could decide
to do in the future.

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass
meta/files/ext-sdk-prepare.py