From patchwork Tue Mar 10 08:07:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1252005 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=eyvomF8K; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48c7522f0yz9sPF for ; Tue, 10 Mar 2020 19:08:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 66984866A9; Tue, 10 Mar 2020 08:08:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vnjRR7IjA5yn; Tue, 10 Mar 2020 08:08:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 71FAA86457; Tue, 10 Mar 2020 08:08:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 843F61BF2FF for ; Tue, 10 Mar 2020 08:08:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 80F1B20407 for ; Tue, 10 Mar 2020 08:08:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lX9xyg3PVCfX for ; Tue, 10 Mar 2020 08:08:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by silver.osuosl.org (Postfix) with ESMTPS id 19A96203A6 for ; Tue, 10 Mar 2020 08:08:07 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id p2so13740260wrw.7 for ; Tue, 10 Mar 2020 01:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xTl53w1o90nDYVxpwX9otB3ao/KBC75I9tlIUI/XTCk=; b=eyvomF8KZqbtuW0bY6PLS++0JEizSAo96qOl1Vn2lpIgR4aMBSxIWgT9jDh8MvgNKW zb7kVRAEs1qj7meJrssrhITwW6qHEDXT+wabXHXATSaHZn9kyT30Z1ZbOUj0Nte2tcli Z9CQa6BJuSdCJwBOzFG8vszHB+sNU/MsdCg3Em68wORzfROX4bClkC5okOfkzfmCFDoX TOgO8PI/KjF9G4YDdJefYQers98reIEVSoSKkrAHZoDJPMFcyBfJz7++apnh5UfAd3na +vmclUCXG+cA8A3sdvt4v0dbM5haHrWl+4H7q2CRGjtvDE9Ky30CSDO+c+BEJ09wOUhw Wrkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xTl53w1o90nDYVxpwX9otB3ao/KBC75I9tlIUI/XTCk=; b=J3hUdLHvK0OJcAQ1aUn/axCcleaZmPEEiYx76Tj10Zdfqm5l3PqwFqgAMeZ8D6XFSb EXVpzLKna/4tYXxat0jp6QU4eX7AcO8yA1p3WnWs9dgSnX3ejgg2CDqNiIcMnlbworVy 2j7az9tPoK0gO/hoZNO7QhAAThF/hiobRguMNZvuL87bwjWxhdGkTl4sr1/BV48BXl4j wH0N90xsm3HOFdKs9y+Ukb5qPiTRla7KGZT3PiN/UOY5x5MQG57L6A0eegbxZnCzLAID cKGW+IV/O9FcDHFGxNOS20gaxw1EvkEsHG7RGRmCyzWj+nLWdDqWv7N2xeVCADUH3pr8 d2NQ== X-Gm-Message-State: ANhLgQ2I5OeRNoCG4ozWrQtrernbWCyfJZFWe+F02vVyG0BL+VwohTPA dcTgO2AqwPY6qLe3OWZJ/EgOsGLA X-Google-Smtp-Source: ADFU+vu6DzRMYUIf6XH4EoIbcwCJ0Nh2HBa3V/ZV5G0o/S7APbRubkAkexJn7UcIDWZj+Yb/WX1REw== X-Received: by 2002:adf:d4d0:: with SMTP id w16mr10132343wrk.152.1583827684998; Tue, 10 Mar 2020 01:08:04 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id v2sm2758508wme.2.2020.03.10.01.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 01:08:04 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Tue, 10 Mar 2020 09:07:18 +0100 Message-Id: <20200310080722.12742-2-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200310080722.12742-1-heiko.thiery@gmail.com> References: <20200310080722.12742-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 1/3] package/linuxptp: make initscript options configurable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Michale Walle , Heiko Thiery , Petr Kulhavy Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The "package/busybox/S01sysklogd" is taken as template to change the init script of the linuxptp daemon. The init script is split two parts because there are 2 daemons (ptp4l and phc2sys). Let the user supply its own options in /etc/default/ptp4l and /etc/default/phc2sys. This patch also fixes an issue with the creation of the pid file that is needed to properly stop the daemon again. Signed-off-by: Michael Walle Signed-off-by: Heiko Thiery Tested-by: Carlos Santos --- package/linuxptp/S65linuxptp | 46 ---------------------------- package/linuxptp/S65ptp4l | 59 ++++++++++++++++++++++++++++++++++++ package/linuxptp/S66phc2sys | 59 ++++++++++++++++++++++++++++++++++++ package/linuxptp/linuxptp.mk | 6 ++-- 4 files changed, 122 insertions(+), 48 deletions(-) delete mode 100644 package/linuxptp/S65linuxptp create mode 100644 package/linuxptp/S65ptp4l create mode 100644 package/linuxptp/S66phc2sys diff --git a/package/linuxptp/S65linuxptp b/package/linuxptp/S65linuxptp deleted file mode 100644 index 46b8921fdd..0000000000 --- a/package/linuxptp/S65linuxptp +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -# -# Start linuxptp -# - -start() { - printf "Starting linuxptp daemon: " - start-stop-daemon -S -b -q -p /var/run/linuxptp-ptp4l.pid \ - -x /usr/sbin/ptp4l -- -f /etc/linuxptp.cfg - [ $? = 0 ] && echo "OK" || echo "FAIL" - - printf "Starting linuxptp system clock synchronization: " - start-stop-daemon -S -b -q -p /var/run/linuxptp-phc2sys.pid \ - -x /usr/sbin/phc2sys -- -s eth0 -c CLOCK_REALTIME -w -S 1.0 - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -stop() { - printf "Stopping linuxptp system clock synchronization: " - start-stop-daemon -K -q -p /var/run/linuxptp-phc2sys.pid \ - -x /usr/sbin/phc2sys - echo "OK" - - printf "Stopping linuxptp daemon: " - start-stop-daemon -K -q -p /var/run/linuxptp-ptp4l.pid \ - -x /usr/sbin/ptp4l - echo "OK" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/package/linuxptp/S65ptp4l b/package/linuxptp/S65ptp4l new file mode 100644 index 0000000000..630c5e803b --- /dev/null +++ b/package/linuxptp/S65ptp4l @@ -0,0 +1,59 @@ +#!/bin/sh +# +# Start linuxptp +# + +DAEMON="ptp4l" + +PIDFILE="/var/run/$DAEMON.pid" + +PTP4L_ARGS="-f /etc/linuxptp.cfg" + +# shellcheck source=/dev/null +[ -r "/etc/default/ptp4l" ] && . "/etc/default/ptp4l" + +# ptp4l does not create a pidfile, so pass "-n" in the command line +# and use "-m" to instruct start-stop-daemon to create one. +start() { + printf "Starting linuxptp daemon: " + start-stop-daemon -S -b -q -m -p $PIDFILE \ + -x /usr/sbin/$DAEMON -- $PTP4L_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return $status +} + +stop() { + printf "Stopping linuxptp daemon: " + start-stop-daemon -K -q -p $PIDFILE + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return $status +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + stop + start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/package/linuxptp/S66phc2sys b/package/linuxptp/S66phc2sys new file mode 100644 index 0000000000..5d9e962b07 --- /dev/null +++ b/package/linuxptp/S66phc2sys @@ -0,0 +1,59 @@ +#!/bin/sh +# +# Start linuxptp +# + +DAEMON="phc2sys" + +PIDFILE="/var/run/$DAEMON.pid" + +PHC2SYS_ARGS="-s eth0 -c CLOCK_REALTIME -w -S 1.0" + +# shellcheck source=/dev/null +[ -r "/etc/default/phc2sys" ] && . "/etc/default/phc2sys" + +# phc2sys does not create a pidfile, so pass "-n" in the command line +# and use "-m" to instruct start-stop-daemon to create one. +start() { + printf "Starting linuxptp system clock synchronization: " + start-stop-daemon -S -b -q -m -p $PIDFILE \ + -x /usr/sbin/$DAEMON -- $PHC2SYS_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return $status +} + +stop() { + printf "Stopping linuxptp system clock synchronization: " + start-stop-daemon -K -q -p $PIDFILE + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return $status +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + stop + start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/package/linuxptp/linuxptp.mk b/package/linuxptp/linuxptp.mk index 97e4af7be7..ba57396f86 100644 --- a/package/linuxptp/linuxptp.mk +++ b/package/linuxptp/linuxptp.mk @@ -33,8 +33,10 @@ define LINUXPTP_INSTALL_TARGET_CMDS endef define LINUXPTP_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S65linuxptp \ - $(TARGET_DIR)/etc/init.d/S65linuxptp + $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S65ptp4l \ + $(TARGET_DIR)/etc/init.d/S65ptp4l + $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S66phc2sys \ + $(TARGET_DIR)/etc/init.d/S66phc2sys endef define LINUXPTP_INSTALL_INIT_SYSTEMD From patchwork Tue Mar 10 08:07:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1252007 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ND4JBgd+; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48c7541Sxcz9sPF for ; Tue, 10 Mar 2020 19:08:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5740D86B7A; Tue, 10 Mar 2020 08:08:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wn15CLR6rC-G; Tue, 10 Mar 2020 08:08:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 57C1F86652; Tue, 10 Mar 2020 08:08:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2B7351BF2FF for ; Tue, 10 Mar 2020 08:08:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 28BE986457 for ; Tue, 10 Mar 2020 08:08:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Xwg4Jxavhts for ; Tue, 10 Mar 2020 08:08:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 502D38639F for ; Tue, 10 Mar 2020 08:08:08 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id r7so14574035wro.2 for ; Tue, 10 Mar 2020 01:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SFGSTdrMbet08yTYJf+rRfAipvtNK8duWtzyEoUyD9Q=; b=ND4JBgd+7M4RidQxUSyUF1/lPQufeBJkColXEK2cmURaeF26zRMv80w+ZD1wf+thEL kU3pz/hPVDdqJooYemEfjTp4EThCAx0xG4eZs41zy31S/su9zcPugqzEzLL/fk8d49SR g3nznFnxFRYpczmj3kfnPsofcVoIeZ039xdcHEAZj5HyULCKbrHoy3rundTTSXLeQ3HZ fszDgAGYG/a+qhdJzPFrYiWO5TFr8YzOAXkeSuqYYm/gjFoaPbN/ZzriJXf6cjySrBY9 P67x4rR+jink6ok9r0EfFI8muArNDiVG+0beRSx9k0cqEONPEYa0Y3Lv7vEGOuc6kZXY jagA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SFGSTdrMbet08yTYJf+rRfAipvtNK8duWtzyEoUyD9Q=; b=cLsf7lKAN6NIc1BhyOb8rGq7A4KExhS194GcYG9LMMpRy7I5Ci0VJeIIxN48CCqFoq EhzOzmvtv8Brd6z6KTcfWTkGGpIZ954p5FRwXSNiYGfPO2avZj4KRD9UFA2mEW0XLE2A nF8uuj3wTKYmWiJ/UY2IaGhB1gNy84i5XguZNcx+GQYuTgEySmailgs84h5BqF5ODj7R pEBELt7Y9UgJkRlcXkJQITPNqwretpNq8GXfCuhfSrlyFuqZvbeaVqykmkR7V3+P0Eyq 00SidWitbRFpfRzFq+HPsW8pbyujm5FyWV23H6FbyZEygTbort3XXXbNOnVaorL+oxAv 3Cig== X-Gm-Message-State: ANhLgQ27ykP0kYc/k2gMH4TdYHxOJZZ2TfhK+tGlTQuzsRYd2wZ6j1w5 Jk72EwHX21r+jK56VEU991GfmVYf X-Google-Smtp-Source: ADFU+vttEIyCM5g/osw8hkA026OI1SEhH+OJb5aZSVzB7Nv1B3tbknjNnAijpOQT8OdTy9oL+Z7fvA== X-Received: by 2002:adf:fc81:: with SMTP id g1mr27091300wrr.410.1583827686302; Tue, 10 Mar 2020 01:08:06 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id v2sm2758508wme.2.2020.03.10.01.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 01:08:05 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Tue, 10 Mar 2020 09:07:19 +0100 Message-Id: <20200310080722.12742-3-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200310080722.12742-1-heiko.thiery@gmail.com> References: <20200310080722.12742-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 2/3] package/linuxptp: rename systemd service scripts X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Michale Walle , Heiko Thiery , Petr Kulhavy Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Use the same name as for the SysVinit scripts. This name is also used in debian. linuxptp-system-clock.service -> phc2sys.service linuxptp.service -> ptp4l.service Signed-off-by: Heiko Thiery Tested-by: Carlos Santos --- package/linuxptp/linuxptp.mk | 8 ++++---- .../{linuxptp-system-clock.service => phc2sys.service} | 2 +- package/linuxptp/{linuxptp.service => ptp4l.service} | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename package/linuxptp/{linuxptp-system-clock.service => phc2sys.service} (89%) rename package/linuxptp/{linuxptp.service => ptp4l.service} (87%) diff --git a/package/linuxptp/linuxptp.mk b/package/linuxptp/linuxptp.mk index ba57396f86..921c55ad59 100644 --- a/package/linuxptp/linuxptp.mk +++ b/package/linuxptp/linuxptp.mk @@ -40,10 +40,10 @@ define LINUXPTP_INSTALL_INIT_SYSV endef define LINUXPTP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/linuxptp.service \ - $(TARGET_DIR)/usr/lib/systemd/system/linuxptp.service - $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/linuxptp-system-clock.service \ - $(TARGET_DIR)/usr/lib/systemd/system/linuxptp-system-clock.service + $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/ptp4l.service \ + $(TARGET_DIR)/usr/lib/systemd/system/ptp4l.service + $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/phc2sys.service \ + $(TARGET_DIR)/usr/lib/systemd/system/phc2sys.service endef $(eval $(generic-package)) diff --git a/package/linuxptp/linuxptp-system-clock.service b/package/linuxptp/phc2sys.service similarity index 89% rename from package/linuxptp/linuxptp-system-clock.service rename to package/linuxptp/phc2sys.service index 57beec4579..63b0ca23c3 100644 --- a/package/linuxptp/linuxptp-system-clock.service +++ b/package/linuxptp/phc2sys.service @@ -1,6 +1,6 @@ [Unit] Description=Precision Time Protocol system clock synchronization -After=linuxptp.service +After=ptp4l.service [Service] ExecStart=/usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -S 1.0 diff --git a/package/linuxptp/linuxptp.service b/package/linuxptp/ptp4l.service similarity index 87% rename from package/linuxptp/linuxptp.service rename to package/linuxptp/ptp4l.service index 14e9814b06..07f0b68fad 100644 --- a/package/linuxptp/linuxptp.service +++ b/package/linuxptp/ptp4l.service @@ -3,7 +3,7 @@ Description=Precision Time Protocol daemon After=syslog.target network.target Before=time-sync.target Wants=time-sync.target -Wants=linuxptp-system-clock.service +Wants=phc2sys.service [Service] ExecStart=/usr/sbin/ptp4l -f /etc/linuxptp.cfg From patchwork Tue Mar 10 08:07:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1252006 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Fg2ujWUo; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48c7531n1Zz9sQx for ; Tue, 10 Mar 2020 19:08:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F11A486CC9; Tue, 10 Mar 2020 08:08:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eOvSIYTR-gLU; Tue, 10 Mar 2020 08:08:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 318428647E; Tue, 10 Mar 2020 08:08:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2B4861BF2FF for ; Tue, 10 Mar 2020 08:08:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 276F9886AD for ; Tue, 10 Mar 2020 08:08:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fb6U304OVmNN for ; Tue, 10 Mar 2020 08:08:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by hemlock.osuosl.org (Postfix) with ESMTPS id 55BA8820C9 for ; Tue, 10 Mar 2020 08:08:09 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id a25so10744498wrd.0 for ; Tue, 10 Mar 2020 01:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nYSHqDMDb4BURoK8nGl7l5KDNKCkFFV4A+UL0l+XzbU=; b=Fg2ujWUoIK4015s+/EESHyXJUkns0ayjCLAXL21FtGNJxQK00zByxk7LP3eysiYf79 XuqxDQRANhGCLasqK/JiOaS7csNGTXWhNY9hve1Y8jEjvoAe6AFZAoHTZtf86D73Cm5o a1o3Mxbp5beDPYFHJVFeVoFPQ++Z5hLHw96d4/KDwUItsM+/e0PpwalMj2yHA3vh5CMo vhFUIPsSNuEWIDjtWux4QY7kCaoCSwb0FcpafnGmbQP+oRFYAkrWcb0v299wjpvczF/L MGvU7h8UI7lM8bZGp5f4AoVGl+a9tx8LYgaJtE6RqiVddOjCZr2hZ47Ovi9PIN7if1Rx GrtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nYSHqDMDb4BURoK8nGl7l5KDNKCkFFV4A+UL0l+XzbU=; b=LDQVUZ7kphtOIm+TuPVI3yznv5rWnIre5V3UJVbtKR9NzU/Q0oL9B7vE2+rlIHcWVP zgte2ATZ4S2Asuv0JT7vrAQxgPfgLXXxQfH0ymTNW+Ai3t3WtBzsyNtnp8LvbDPQwKlQ mAZxdac7vizcf7+cnLmzpP9ZoFoQXP/IgdP/G7RkFtws8lEKWQaW6U3D+rPlySghHvmo IsiHWO9jgTxkXFzJ3DWxuRiJcLCd6qkA27qbK/w7sH8lCh/l6dl3MQRGpzBpnaZuQ4wK 6UPz4Mq0PClnZKuaWtESngHmlVifpbeI4hHdtMGJwCt0rfR8eho/Y2l7PCA675777UX+ duag== X-Gm-Message-State: ANhLgQ2QFuQHEO1xFRiHF3c++ZZg+sURghENZ802Tw3mRR3ZzYa/PnIi ExN4LYmw4xETzcwSoFG3+EdLjRsp X-Google-Smtp-Source: ADFU+vv+sWDorun4r+RtgTFVztddFO4qqpVZ4ESh+fyXs+nLgcDfxtz2BzK/GcFM01Pcq1NR5oTrrA== X-Received: by 2002:a05:6000:12c6:: with SMTP id l6mr27232468wrx.217.1583827687476; Tue, 10 Mar 2020 01:08:07 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id v2sm2758508wme.2.2020.03.10.01.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 01:08:07 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Tue, 10 Mar 2020 09:07:20 +0100 Message-Id: <20200310080722.12742-4-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200310080722.12742-1-heiko.thiery@gmail.com> References: <20200310080722.12742-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 3/3] package/linuxptp: update indentation of hash file X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Michale Walle , Heiko Thiery , Petr Kulhavy Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Heiko Thiery --- package/linuxptp/linuxptp.hash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/linuxptp/linuxptp.hash b/package/linuxptp/linuxptp.hash index 5e6c7741cd..d04be1f655 100644 --- a/package/linuxptp/linuxptp.hash +++ b/package/linuxptp/linuxptp.hash @@ -1,9 +1,9 @@ # From https://sourceforge.net/projects/linuxptp/files/v2.0/ -sha1 592ca42c6146a79c1fcabed7c19fa7af4803d4f6 linuxptp-2.0.tgz -md5 d8bb7374943bb747db7786ac26f17f11 linuxptp-2.0.tgz +sha1 592ca42c6146a79c1fcabed7c19fa7af4803d4f6 linuxptp-2.0.tgz +md5 d8bb7374943bb747db7786ac26f17f11 linuxptp-2.0.tgz # Locally computed: -sha256 0a24d9401e87d4af023d201e234d91127d82c350daad93432106284aa9459c7d linuxptp-2.0.tgz +sha256 0a24d9401e87d4af023d201e234d91127d82c350daad93432106284aa9459c7d linuxptp-2.0.tgz # Hash for license file: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING