- # Allow package to build when musl libc is selected
- sed -i '/depends on !BR2_TOOLCHAIN_USES_MUSL/d' Config.in
- # Do not check for package hash, so there is no need to compute it
- rm pppd.hash
- # Get package sources from head of master branch
- sed -i '/PPPD_VERSION =/c\\PPPD_VERSION = master' pppd.mk
- sed -i '/PPPD_SITE =/c\\PPPD_SITE = https://github.com/paulusmack/ppp' pppd.mk
- sed -i '9iPPPD_MUSL_SITE_METHOD = git' pppd.mk
- - name: Enable PPP build
- working-directory: buildroot
+ wget https://github.com/ppp-project/ppp-ci/releases/download/${{ env.PPP_CI_VERSION }}/${{ env.BUILDROOT_DIRECTORY_NAME }}.tar.zst
+ tar -xf ${{ env.BUILDROOT_DIRECTORY_NAME }}.tar.zst
+ - name: Select latest PPP upstream version
+ working-directory: /home/runner/${{ env.BUILDROOT_DIRECTORY_NAME }}/package/pppd