From bf3d4c38c9f90eed63e76add0b581eedf7c01c7b Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Tue, 8 Oct 2024 13:21:54 +0200 Subject: [PATCH] Add more packages for openssl common config Let's check if by enabling more packages as it was suggested [1] will help to use the /dev/crypto. [1] https://github.com/openwrt/openwrt/pull/16628 --- .github/workflows/bpi-r4-BE14-community.yaml | 4 ++-- .github/workflows/bpi-r4-BE14.yaml | 4 ++-- configs/common/openssl | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bpi-r4-BE14-community.yaml b/.github/workflows/bpi-r4-BE14-community.yaml index b4cfe65..3ba1ce6 100644 --- a/.github/workflows/bpi-r4-BE14-community.yaml +++ b/.github/workflows/bpi-r4-BE14-community.yaml @@ -25,7 +25,7 @@ on: env: REMOTE_REPOSITORY: danpawlik/openwrt REMOTE_BRANCH: v15-luci-eht${{ inputs.RMADRAD_VERSION == 'true' && '-rmadrad' || '' }} - RELEASE_PREFIX: Mediatek_mt7988a_bpi-r4_be14_eht-${{ inputs.RMADRAD_VERSION == true && '-rmadrad' || '-stock' }} + RELEASE_PREFIX: Mediatek_mt7988a_bpi-r4_be14_eht${{ inputs.RMADRAD_VERSION == 'true' && '-rmadrad' || '-stock' }} DEVICE_CONFIG: ${{ inputs.DEVICE_CONFIG == 'poe' && 'configs/mediatek/mt7988a/bpi-r4-poe' || 'configs/mediatek/mt7988a/bpi-r4' }} ROLE_CONFIG: configs/common/community @@ -71,7 +71,7 @@ jobs: - name: What version it is created run: | - echo "Version: ${{ inputs.RMADRAD_VERSION == true && 'rmadrad' || 'stock' }} for: ${{ env.DEVICE_CONFIG }} based on branch ${{ env.REMOTE_BRANCH }}" + echo "Version: ${{ inputs.RMADRAD_VERSION == 'true' && 'rmadrad' || 'stock' }} for: ${{ env.DEVICE_CONFIG }} based on branch ${{ env.REMOTE_BRANCH }}" - name: Update and install feeds run: | diff --git a/.github/workflows/bpi-r4-BE14.yaml b/.github/workflows/bpi-r4-BE14.yaml index b5c619a..3ebb796 100644 --- a/.github/workflows/bpi-r4-BE14.yaml +++ b/.github/workflows/bpi-r4-BE14.yaml @@ -1,5 +1,5 @@ --- -name: BPI-R4 + all packages + BE14 + luci BE +name: BPI-R4 + BE14 + all packages on: workflow_dispatch: @@ -29,7 +29,7 @@ jobs: echo "latest_commit_sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT build: - name: Build OpenWRT for BPI-R4 with BE14 + name: Build OpenWRT for BPI-R4 with BE14 and main-router packages needs: [check_commits] runs-on: ubuntu-24.04 steps: diff --git a/configs/common/openssl b/configs/common/openssl index 272a3f5..62b2a72 100644 --- a/configs/common/openssl +++ b/configs/common/openssl @@ -18,4 +18,6 @@ CONFIG_OPENSSL_OPTIMIZE_SPEED=y # enable /dev/crypto CONFIG_PACKAGE_libopenssl-devcrypto=y CONFIG_PACKAGE_kmod-cryptodev=y +CONFIG_PACKAGE_libopenssl-afalg=y +CONFIG_PACKAGE_libopenssl-gost_engine=y #### replace mbedtls with openssl - remember to leave commented "is not set" or remove it!