From: Álvaro Fernández Rojas Date: Sun, 9 Apr 2023 07:59:21 +0000 (+0200) Subject: ramips: sercomm-payload: use pide-file argument X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8758438c27a88694a1389a42f82b8262d6a92f97;p=openwrt%2Fstaging%2Fjow.git 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 --- 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