From 8758438c27a88694a1389a42f82b8262d6a92f97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sun, 9 Apr 2023 09:59:21 +0200 Subject: [PATCH] ramips: sercomm-payload: use pide-file argument MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- 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 -- 2.30.2