diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..c58b1b0b --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,20 @@ +name: "CLA" + +permissions: + contents: read + pull-requests: write + actions: write + statuses: write + +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] + +jobs: + CLA-Lite: + name: "Signature" + uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@v1 + secrets: + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }} diff --git a/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml b/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml index 5038b432..7b8c1cba 100644 --- a/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml +++ b/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml @@ -1,13 +1,18 @@ name: Fossid Stateless Diff Scan -on: +on: pull_request: - branches: - - develop + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: read + jobs: call-fossid-workflow: - uses: rdkcentral/build_tools_workflows/.github/workflows/fossid_integration_stateless_diffscan.yml@develop - secrets: + if: ${{ ! github.event.pull_request.head.repo.fork }} + uses: rdkcentral/build_tools_workflows/.github/workflows/fossid_integration_stateless_diffscan.yml@1.0.0 + secrets: FOSSID_CONTAINER_USERNAME: ${{ secrets.FOSSID_CONTAINER_USERNAME }} FOSSID_CONTAINER_PASSWORD: ${{ secrets.FOSSID_CONTAINER_PASSWORD }} FOSSID_HOST_USERNAME: ${{ secrets.FOSSID_HOST_USERNAME }} diff --git a/source/bulkdata/profilexconf.c b/source/bulkdata/profilexconf.c index d0c0a52f..c204bd85 100644 --- a/source/bulkdata/profilexconf.c +++ b/source/bulkdata/profilexconf.c @@ -498,7 +498,7 @@ reportXconfThreadEnd : reportThreadExits = false; pthread_mutex_unlock(&plMutex); pthread_cond_destroy(&reuseThread); - T2Debug("%s --out exiting the CollectAndReportXconf thread \n", __FUNCTION__); + T2Info("%s --out exiting the CollectAndReportXconf thread \n", __FUNCTION__); return NULL; } diff --git a/source/telemetry2_0.c b/source/telemetry2_0.c index fafef5f8..c9dce45b 100644 --- a/source/telemetry2_0.c +++ b/source/telemetry2_0.c @@ -267,6 +267,8 @@ static void t2DaemonMainModeInit( ) sigaddset(&blocking_signal, LOG_UPLOAD_ONDEMAND); sigaddset(&blocking_signal, SIGIO); + act.sa_mask = blocking_signal; // block these signals while inside handler + DAEMONPID = getpid(); // save the pid of the deamon T2Debug("Telemetry 2.0 Process PID %d\n", (int)DAEMONPID); //Debug line