[Buildroot] [PATCH v2 0/3] bump smcroute and add start script
Joachim Wiberg
troglobit at gmail.com
Mon Aug 30 15:30:53 UTC 2021
Hi everyone!
This is the third version of the patch to update SMCRoute to the latest
version. Previous versions were audited by Yegor and Thomas, thank you
for that! There is a fresh bug fix release upstream and this patch set
has been updated to reflect that.
Also, there is now a SysV start script included, installed when a SysV
init is used. The upstream systemd unit file was already instaled when
systemd is used. Both of them support an optional /etc/default/smcroute
environment file that is sourced before starting smcrouted, for site
local cmdline options.
Basic tests pass:
$ ./utils/check-package package/smcroute/*
56 lines processed
0 warnings generated
$ ./utils/test-pkg -c smcroute.config -p smcroute
bootlin-armv5-uclibc [1/6]: OK
bootlin-armv7-glibc [2/6]: OK
bootlin-armv7m-uclibc [3/6]: SKIPPED
bootlin-x86-64-musl [4/6]: OK
br-arm-full-static [5/6]: OK
sourcery-arm [6/6]: OK
6 builds, 1 skipped, 0 build failed, 0 legal-info failed
To verify the integration, manual testing from a clean master branch,
has been performed in Qemu (Aarch64) using with both BusyBox init and
systemd.
Best regards
/Joachim
Reviewed-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Signed-off-by: Joachim Wiberg <troglobit at gmail.com>
---
v2:
- fixed incorrect use of global CFLAGS in .mk (Thomas)
- bump to latest upstream, v2.5.2
- add sysv init script with optional /etc/default/smcroute
- clean up compat script wrapper post-install
Joachim Wiberg (3):
package/smcroute: bump version to v2.5.2
package/smcroute: add sysv init script
package/smcroute: prune old smcroute compat script
package/smcroute/S41smcroute | 48 ++++++++++++++++++++++++++++++++++
package/smcroute/smcroute.hash | 7 ++---
package/smcroute/smcroute.mk | 18 +++++++++----
3 files changed, 65 insertions(+), 8 deletions(-)
create mode 100755 package/smcroute/S41smcroute
--
2.25.1
More information about the buildroot
mailing list