diff options
| author | Christian Marangi | 2025-12-10 22:56:06 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-12-10 22:57:22 +0000 |
| commit | 4a20f00e0c4b24b72c29315a78924d19a04315d2 (patch) | |
| tree | 7ba772f4c42692f3ed50c17d11495038f4d825e5 | |
| parent | f648a1d9f955aeb51c0c1f50063c7a08796a75b3 (diff) | |
| download | maintainer-tools-master.tar.gz | |
On branching for a new version, also update the openwrt-keyring to
install the specific .pem key.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| -rwxr-xr-x | makebranch.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/makebranch.sh b/makebranch.sh index 0e39749..7a82de6 100755 --- a/makebranch.sh +++ b/makebranch.sh @@ -138,10 +138,15 @@ sed -e 's!\(http\|https\)://downloads.\(openwrt\|lede-project\).org/[^"]*!'"$bas package/base-files/image-config.in > package/base-files/image-config.branch && \ mv package/base-files/image-config.branch package/base-files/image-config.in +sed -e 's!openwrt-.*.pem!openwrt-'"$version"'.pem!g' \ + package/system/openwrt-keyring/Makefile > package/system/openwrt-keyring/Makefile.branch && \ + mv package/system/openwrt-keyring/Makefile.branch package/system/openwrt-keyring/Makefile + git commit -sm "${distname:-OpenWrt} v$version: set branch defaults" \ feeds.conf.default \ include/version.mk \ - package/base-files/image-config.in + package/base-files/image-config.in \ + package/system/openwrt-keyring/Makefile git --no-pager log -p -1 git checkout "${prev_branch#refs/heads/}" |