[openwrt/openwrt] ramips: sercomm-payload: use pide-file argument
LEDE Commits
lede-commits at lists.infradead.org
Sun Apr 9 03:52:47 PDT 2023
noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/8758438c27a88694a1389a42f82b8262d6a92f97
commit 8758438c27a88694a1389a42f82b8262d6a92f97
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Sun Apr 9 09:59:21 2023 +0200
ramips: sercomm-payload: use pide-file argument
Instead of passing an array of hex bytes for the Sercomm PID we can now use
the --pid-file parameter.
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
target/linux/ramips/image/common-sercomm.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ramips/image/common-sercomm.mk b/target/linux/ramips/image/common-sercomm.mk
index 1cd6d1ece7..83bb2a742c 100644
--- a/target/linux/ramips/image/common-sercomm.mk
+++ b/target/linux/ramips/image/common-sercomm.mk
@@ -51,7 +51,7 @@ define Build/sercomm-payload
$(TOPDIR)/scripts/sercomm-payload.py \
--input-file $@ \
--output-file $@.tmp \
- --pid "$$(cat $@.pid | od -t x1 -An -v | tr -d '\n')"
+ --pid-file $@.pid
mv $@.tmp $@
rm $@.pid
endef
More information about the lede-commits
mailing list