From d043911e649fc4ebe5e8803f308ffaa6b70d9c59 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 24 Sep 2020 10:07:49 +0200 Subject: [PATCH 1/8] Add a OMR_PACKAGES_URL settings and change default port to 80 --- build.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index af188018..e5a9dd71 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ _get_repo() ( OMR_DIST=${OMR_DIST:-openmptcprouter} OMR_HOST=${OMR_HOST:-$(curl -sS ifconfig.co)} -OMR_PORT=${OMR_PORT:-8000} +OMR_PORT=${OMR_PORT:-80} OMR_KEEPBIN=${OMR_KEEPBIN:-no} OMR_IMG=${OMR_IMG:-yes} #OMR_UEFI=${OMR_UEFI:-yes} @@ -134,6 +134,14 @@ if [ "$OMR_DIST" = "openmptcprouter" ]; then src/gz openwrt_routing http://packages.openmptcprouter.com/${OMR_RELEASE}/${OMR_REAL_TARGET}/routing src/gz openwrt_telephony http://packages.openmptcprouter.com/${OMR_RELEASE}/${OMR_REAL_TARGET}/telephony EOF +elif [ -n "$OMR_PACKAGES_URL" ]; then + cat > "$OMR_TARGET/source/package/system/opkg/files/customfeeds.conf" <<-EOF + src/gz openwrt_luci ${OMR_PACKAGES_URL}/${OMR_RELEASE}/${OMR_REAL_TARGET}/luci + src/gz openwrt_packages ${OMR_PACKAGES_URL}/${OMR_RELEASE}/${OMR_REAL_TARGET}/packages + src/gz openwrt_base ${OMR_PACKAGES_URL}/${OMR_RELEASE}/${OMR_REAL_TARGET}/base + src/gz openwrt_routing ${OMR_PACKAGES_URL}/${OMR_RELEASE}/${OMR_REAL_TARGET}/routing + src/gz openwrt_telephony ${OMR_PACKAGES_URL}/${OMR_RELEASE}/${OMR_REAL_TARGET}/telephony + EOF else cat > "$OMR_TARGET/source/package/system/opkg/files/customfeeds.conf" <<-EOF src/gz openwrt_luci http://downloads.openwrt.org/snapshots/packages/${OMR_REAL_TARGET}/luci From c7492fb5594e63317977ed6288c09251399ab660 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 1 Oct 2020 16:47:17 +0200 Subject: [PATCH 2/8] Add KERNEL_ARM_MODULE_PLTS --- config-bpi-r2 | 1 + config-bpi-r64 | 9 +++++++++ config-rpi3 | 1 + config-rpi4 | 1 + config-wrt3200acm | 1 + config-wrt32x | 1 + 6 files changed, 14 insertions(+) create mode 100644 config-bpi-r64 diff --git a/config-bpi-r2 b/config-bpi-r2 index 4022b63d..1ff4480e 100644 --- a/config-bpi-r2 +++ b/config-bpi-r2 @@ -17,3 +17,4 @@ CONFIG_PACKAGE_mkf2fs=y # CONFIG_PACKAGE_kmod-rtl8812au-ct is not set # CONFIG_PACKAGE_kmod-mt6625l-bt is not set # CONFIG_PACKAGE_kmod-mt6625l-wlan-gen-2 is not set +CONFIG_KERNEL_ARM_MODULE_PLTS=y diff --git a/config-bpi-r64 b/config-bpi-r64 new file mode 100644 index 00000000..dbbb6649 --- /dev/null +++ b/config-bpi-r64 @@ -0,0 +1,9 @@ +CONFIG_TARGET_mediatek=y +CONFIG_TARGET_mediatek_mt7622=y +CONFIG_TARGET_mediatek_mt7622_DEVICE_bpi_bananapi-r64=y +# CONFIG_PACKAGE_kmod-mt6625l-bt is not set +# CONFIG_PACKAGE_kmod-mt6625l-wlan-gen-2 is not set +CONFIG_PACKAGE_uboot-mediatek=y +CONFIG_PACKAGE_uboot-envtools=y +CONFIG_PACKAGE_mt7622-preloader=y +CONFIG_KERNEL_ARM_MODULE_PLTS=y diff --git a/config-rpi3 b/config-rpi3 index e5370b2d..da6c42db 100644 --- a/config-rpi3 +++ b/config-rpi3 @@ -3,3 +3,4 @@ CONFIG_TARGET_bcm27xx_bcm2710=y CONFIG_TARGET_bcm27xx_bcm2710_DEVICE_rpi-3=y CONFIG_PACKAGE_kmod-ath10k-ct=n CONFIG_PACKAGE_kmod-ath9k=y +CONFIG_KERNEL_ARM_MODULE_PLTS=y diff --git a/config-rpi4 b/config-rpi4 index 7fb408aa..39fb7fb7 100644 --- a/config-rpi4 +++ b/config-rpi4 @@ -5,3 +5,4 @@ CONFIG_PACKAGE_kmod-ath10k-ct=n CONFIG_PACKAGE_kmod-ath9k=y CONFIG_PACKAGE_bcm27xx-eeprom=y CONFIG_PACKAGE_bcm27xx-userland=y +CONFIG_KERNEL_ARM_MODULE_PLTS=y diff --git a/config-wrt3200acm b/config-wrt3200acm index 1c560ff5..1b146609 100644 --- a/config-wrt3200acm +++ b/config-wrt3200acm @@ -5,3 +5,4 @@ CONFIG_PACKAGE_kmod-6lowpan=y CONFIG_PACKAGE_luci-app-advanced-reboot=y # CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE is not set CONFIG_KERNEL_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_KERNEL_ARM_MODULE_PLTS=y diff --git a/config-wrt32x b/config-wrt32x index eba5cbec..f362f397 100644 --- a/config-wrt32x +++ b/config-wrt32x @@ -5,3 +5,4 @@ CONFIG_PACKAGE_kmod-6lowpan=y CONFIG_PACKAGE_luci-app-advanced-reboot=y # CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE is not set CONFIG_KERNEL_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_KERNEL_ARM_MODULE_PLTS=y From 5016e1c4bcc201185412354b34ac595ae92177eb Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 1 Oct 2020 16:47:46 +0200 Subject: [PATCH 3/8] Update OpenWrt --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index e5a9dd71..3f87d67a 100755 --- a/build.sh +++ b/build.sh @@ -71,9 +71,9 @@ fi #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" if [ "$OMR_OPENWRT" = "default" ]; then - _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "620f9c773413a0deaeda2bdc22d5e9cb89b9317f" - _get_repo feeds/packages https://github.com/openwrt/packages "ed39c2f02e1f05c40161986c6d0581f7eba58bea" - _get_repo feeds/luci https://github.com/openwrt/luci "6044084a61cdd95e390002cc6a908b33185d457d" + _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "624298dc27d6306015bf79cacf905e4e1a33026c" + _get_repo feeds/packages https://github.com/openwrt/packages "2095656dcaebd7e3f53af600319e04db9de70b7f" + _get_repo feeds/luci https://github.com/openwrt/luci "b60ea0b8bf5721e908530d376802b84958deef76" elif [ "$OMR_OPENWRT" = "master" ]; then _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "master" _get_repo feeds/packages https://github.com/openwrt/packages "master" From bfb83daf465dff0c8756e620a81319c73dd29728 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 2 Oct 2020 16:19:14 +0200 Subject: [PATCH 4/8] Add text in issue that issue can be closed if template is not used --- .github/ISSUE_TEMPLATE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 2c2952c1..d2e5e3d8 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,4 @@ + ## Expected Behavior From 617037d27f699c9e4e8fa3e6d07b9eaf465cf747 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 2 Oct 2020 17:41:47 +0200 Subject: [PATCH 5/8] Github Actions is used instead of CircleCI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c198b1ec..a332c0a9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![CircleCI](https://circleci.com/gh/Ysurac/openmptcprouter-feeds.svg?style=svg)](https://circleci.com/gh/Ysurac/openmptcprouter-feeds) +![openmptcprouter](https://github.com/Ysurac/openmptcprouter-feeds/workflows/openmptcprouter/badge.svg) ![Latest tag](https://img.shields.io/github/tag/ysurac/openmptcprouter-feeds.svg) [![Paypal](https://www.openmptcprouter.com/img/donate-PayPal-green.svg)](https://www.paypal.me/ycarus) [![Flattr](https://www.openmptcprouter.com/img/donate-flattr-yellow.svg)](https://flattr.com/@ycarus) From 65e82d3d4359c35d0b6959ab8a1f8b219a8beda1 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 5 Oct 2020 15:00:17 +0200 Subject: [PATCH 6/8] Update OpenWrt --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 3f87d67a..b1a145f2 100755 --- a/build.sh +++ b/build.sh @@ -71,9 +71,9 @@ fi #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" if [ "$OMR_OPENWRT" = "default" ]; then - _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "624298dc27d6306015bf79cacf905e4e1a33026c" - _get_repo feeds/packages https://github.com/openwrt/packages "2095656dcaebd7e3f53af600319e04db9de70b7f" - _get_repo feeds/luci https://github.com/openwrt/luci "b60ea0b8bf5721e908530d376802b84958deef76" + _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "2a90d308c73f3f254e93fe3c55d4e40eaabc06e3" + _get_repo feeds/packages https://github.com/openwrt/packages "1640ff1a1e1de6a3217cdd0c43905d4b2dd83f8f" + _get_repo feeds/luci https://github.com/openwrt/luci "c2b22afb9a9a770270be6dbee323ae497b4b988b" elif [ "$OMR_OPENWRT" = "master" ]; then _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "master" _get_repo feeds/packages https://github.com/openwrt/packages "master" From 5d4b8339c4bdb93806c2003594196c660e99f865 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 6 Oct 2020 14:55:53 +0200 Subject: [PATCH 7/8] More template for issues --- .github/ISSUE_TEMPLATE/enhancement.md | 17 ++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 +++++++++++++++++++ .github/ISSUE_TEMPLATE/hardware_support.md | 17 ++++++++++++++++ .../issue.md} | 6 ++++++ .github/ISSUE_TEMPLATE/question.md | 5 +++++ 5 files changed, 65 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/enhancement.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/hardware_support.md rename .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/issue.md} (86%) create mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md new file mode 100644 index 00000000..345c31aa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.md @@ -0,0 +1,17 @@ +--- +name: Enhancement +about: Suggest enhancements +labels: Enhancement +--- + +**Is your enhancement proposal related to a problem? Please describe.** + + +**Describe the solution you'd like** + + +**Describe alternatives you've considered** + + +**Additional context** + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..d8dca141 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: feature request +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** + + +**Describe the solution you'd like** + + +**Describe alternatives you've considered** + + +**Additional context** + diff --git a/.github/ISSUE_TEMPLATE/hardware_support.md b/.github/ISSUE_TEMPLATE/hardware_support.md new file mode 100644 index 00000000..d3674a01 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/hardware_support.md @@ -0,0 +1,17 @@ +--- +name: Hardware Support +about: Suggest adding hardware support +title: '' +labels: Hardware Support +assignees: '' + +--- + +**Is this request related to a missing driver support for a particular hardware platform, SoC or board? Please describe.** + + +**Describe why you are asking for this support?** + + +**Additional context** + diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/issue.md similarity index 86% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/issue.md index d2e5e3d8..f2903e8e 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/issue.md @@ -1,3 +1,9 @@ +--- +name: Bug report +about: Create a report to help us improve OpenMPTCProuter +labels: bug +--- + ## Expected Behavior diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000..a1abcb31 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,5 @@ +--- +name: Create a question +about: Ask a question +labels: Question +--- From 615d596eceaf09a413972fdf42c798056b2f6d2f Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Wed, 7 Oct 2020 09:42:21 +0200 Subject: [PATCH 8/8] Add help wanted issue and fix issues template --- .github/ISSUE_TEMPLATE/enhancement.md | 2 +- .github/ISSUE_TEMPLATE/hardware_support.md | 2 +- .github/ISSUE_TEMPLATE/help.md | 22 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/help.md diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md index 345c31aa..c49f9c4c 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.md +++ b/.github/ISSUE_TEMPLATE/enhancement.md @@ -1,7 +1,7 @@ --- name: Enhancement about: Suggest enhancements -labels: Enhancement +labels: enhancement --- **Is your enhancement proposal related to a problem? Please describe.** diff --git a/.github/ISSUE_TEMPLATE/hardware_support.md b/.github/ISSUE_TEMPLATE/hardware_support.md index d3674a01..a83d685f 100644 --- a/.github/ISSUE_TEMPLATE/hardware_support.md +++ b/.github/ISSUE_TEMPLATE/hardware_support.md @@ -2,7 +2,7 @@ name: Hardware Support about: Suggest adding hardware support title: '' -labels: Hardware Support +labels: hardware support assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/help.md b/.github/ISSUE_TEMPLATE/help.md new file mode 100644 index 00000000..bf7391fe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/help.md @@ -0,0 +1,22 @@ +--- +name: Help wanted +about: Help needed for configuration/installation of OpenMPTCProuter +labels: help wanted +--- + + +## Expected Behavior + + + +## Current Behavior + + + +## Specifications + + - OpenMPTCProuter version: + - OpenMPTCProuter VPS version: + - OpenMPTCProuter platform: + + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index a1abcb31..3f48b699 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -1,5 +1,5 @@ --- name: Create a question about: Ask a question -labels: Question +labels: question ---