From patchwork Thu Mar 12 19:04:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1253874 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.136; helo=silver.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=qKPklWlH; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48ddYv6dbVz9sPF for ; Fri, 13 Mar 2020 06:05:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1464625AA6; Thu, 12 Mar 2020 19:05:06 +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 HmoSq9bUHNZ4; Thu, 12 Mar 2020 19:05:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0D7CD203C4; Thu, 12 Mar 2020 19:05:03 +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 0D8671BF40A for ; Thu, 12 Mar 2020 19:05:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0AC8D86CD0 for ; Thu, 12 Mar 2020 19:05:02 +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 oRkC2ReTjsmQ for ; Thu, 12 Mar 2020 19:05:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 38DC686CC5 for ; Thu, 12 Mar 2020 19:05:01 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id f7so7620026wml.4 for ; Thu, 12 Mar 2020 12:05:01 -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:mime-version :content-transfer-encoding; bh=MNbZ/nZrrBL7fLizmK97gdgqP5Q6/mvQ8PHi+oFZ63M=; b=qKPklWlHLv5rxTEI5KoP8X1/uoHuf0dSsb9yCrvVc+x2ku+d6FcyhsjlcsWW1Pdg2n Mz9JI3pm+AVOQGksitY4k8+7qYeYsKFcWOh1MY4kocOo2A0fvZkpUnPVhRzFlG4tMWue gJiRl6POU35yKAIFhvek04BrEwUv+ZFhiQRMOoxB8KWVEIi/zVNq+djQYPeFvO2WAY/J zIqivmxBMVSE0pstwVa8oOpI/FsiyxIYdoPiQYtz0eDRBVO302LTVL32MXQNA5s8fA64 u1e+7Jm++9Ydtir7mAOBHyWCkTx5OR7oQGnj7Z1HA7YsWol+M99MEw3RHPZb+qs8rBXV U4dA== 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:mime-version :content-transfer-encoding; bh=MNbZ/nZrrBL7fLizmK97gdgqP5Q6/mvQ8PHi+oFZ63M=; b=kQPPCq3N107/VUKTq/52zd42b3Ck5xPPQoizUJJhqRDDlPW774n3EqIzafLa3AWPRk JZNXLfCPFzjwy+yvJr0HL/kdBNmfgdHdT8JSS1DKovqdBciZEwVjccTbLzHjOojEO/v3 GmBRN5H9OGw1zShbWdrH6Qg3BE5vdEpxmgpwc2Yvxwvk8f3PwCT7BJn7VloHzoP7M7WZ rL0svp7TdK5DHP6B7mhTleFuj9f0fAAeiJq8UfXubG8DiuMOcxUv+faih6WFAGq+sVsJ w/3mBba0+y8A8wDdCL35wngHJbfscHMakumWHpkIzc9WShGsMRQ0cHQrKi6jOeL3XBpj 5JtQ== X-Gm-Message-State: ANhLgQ0fUwSebAsVzHRt1UVelhz+MuXP7zTG9XGGqamDiYoBfBxO8yZX g47IrfLr2EoG7cICOV1m/hfHKaFiAmI= X-Google-Smtp-Source: ADFU+vvwjRS91qoWEUevYyLj98gyFx0ugrj3SzG0xKS7LurEsWF1JOpPtumvdH4SSOUWnx20F8AstA== X-Received: by 2002:a1c:13:: with SMTP id 19mr6427753wma.183.1584039899188; Thu, 12 Mar 2020 12:04:59 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id b203sm14261755wmc.45.2020.03.12.12.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2020 12:04:58 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Thu, 12 Mar 2020 20:04:32 +0100 Message-Id: <20200312190434.973-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 0/1] 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 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" After talking to Michael I've taken his patch and did a new version with some modifications/improvements. This series changes the SysV init script to match the prefered style (used package/busybox/S01syslogd) for init scripts. Since in the old init script 2 daemons were started this is split in two. The names for the scripts now matches the daemons they start. The systemd service scripts are also renamed to match the daemon names (this is the same name as used in debian). --- v3 -> v4 - change default config values for phc2sys (use the autoconfigure option -a that does not need the network or PHC device) - added the Tested-by from Carlos for the previous version (I don't know if this is allowed) - drop the patch that changes the indentation (Carlos Santos proposed to do that with a version bump) v2 -> v3 - fix the install hooks to match the renamed files - rename the systemd service scripts to have the same name as for the SysVinit scripts - update the indentation of the hash file v1 -> v2 - rename the init script from S65linuxptp to S65ptp4l - move the phc2sys stuff to S66phc2sys - use the style form package/busybox/S01syslogd as template Heiko Thiery (1): package/linuxptp: make initscript options configurable package/linuxptp/S65linuxptp | 46 ---------------------------- package/linuxptp/S65ptp4l | 59 ++++++++++++++++++++++++++++++++++++ package/linuxptp/S66phc2sys | 59 ++++++++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+), 46 deletions(-) delete mode 100644 package/linuxptp/S65linuxptp create mode 100644 package/linuxptp/S65ptp4l create mode 100644 package/linuxptp/S66phc2sys