summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>2020-12-31 13:56:57 +0100
committerRICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>2021-01-01 16:59:00 +0100
commitf494dfbb02cbf92b0c065d65c8a1dc3edcd80adb (patch)
tree77d138236e43186a4fe7e986d59ba9c40ebda804 /.github
parentd0d45511790c22865c73433b5bc0ce850fc66aa0 (diff)
downloadppp-f494dfbb02cbf92b0c065d65c8a1dc3edcd80adb.tar.gz
Modified Buildroot PPPD package to use GitHub master branch.
Signed-off-by: RICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/buildroot.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/buildroot.yaml b/.github/workflows/buildroot.yaml
index 6e17f8e..b7e8042 100644
--- a/.github/workflows/buildroot.yaml
+++ b/.github/workflows/buildroot.yaml
@@ -7,3 +7,17 @@ jobs:
steps:
- name: Checkout Buildroot sources
run: git clone --depth=1 --branch=2020.11.1 https://git.busybox.net/buildroot
+ - name: Select latest PPP version
+ working-directory: buildroot/package/pppd
+ run: |
+ # 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
+ ls
+ cat Config.in
+ cat pppd.mk