Skip to content

Commit

Permalink
packaging: openwrt fix version string in manifest.
Browse files Browse the repository at this point in the history
Openwrt splits version from release at the last dash. So, we can't have a dash
as a separator inside the release string (for dirty builds). Use a dot instead.
  • Loading branch information
jiceatscion committed Feb 28, 2024
1 parent 4714210 commit 792e98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/openwrt/ipk.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _ipk_impl(ctx):
r"scripts/feeds install -a -p scion",
r"make IB=1 defconfig", # IB=1 bypasses various unnecessary prerequisites
r"IFS='-' read tag count commit dirty < ${execroot_abspath}/$5",
r'pkgrel=${count}${dirty:+"-dirty$(date +%s)"}',
r'pkgrel=${count}${dirty:+".dirty$(date +%s)"}',
r"make package/feeds/scion/${2}/compile EXECROOT=${execroot_abspath}" +
' PKG_VERSION="${tag}" PKG_RELEASE="${pkgrel}"',
r"cp bin/packages/${6}/scion/${2}_${tag}-${pkgrel}_${6}.ipk ${execroot_abspath}/${4}",
Expand Down

0 comments on commit 792e98b

Please sign in to comment.