From patchwork Tue Mar 10 08:07:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1252004 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.133; helo=hemlock.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=kPGzAPJT; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48c74r6Gbcz9sPF for ; Tue, 10 Mar 2020 19:08:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A700B820C9; 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 XVEGh6hs6Zy5; Tue, 10 Mar 2020 08:08:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A701787860; Tue, 10 Mar 2020 08:08:09 +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 D5F661BF2FF for ; Tue, 10 Mar 2020 08:08:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D2FB886457 for ; Tue, 10 Mar 2020 08:08:07 +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 aAdPHFVG2rbt for ; Tue, 10 Mar 2020 08:08:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B1E428639F for ; Tue, 10 Mar 2020 08:08:05 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id g62so212231wme.1 for ; Tue, 10 Mar 2020 01:08:05 -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=jP0uk2DxBUfoseG4SE1/eWI7EgDsSalCAkiPJlTmJBY=; b=kPGzAPJThCd1/lDwI+yty7dQQrCPd3ktx5yPHu4XHTsPShOh/tfmSg6R94aB8nvtI6 gwf7Zm7FIiqpyhiysfWhh2zrmirLIO52O/RZXbTtPMv/f0v6wqqa0i6Skg4HpA3xf64u h1VU5s/t6EhWpkfBsIbLVkVDd8bt3ceIchUktmgZ8AXLQoclYd8T2DGnFtsRRhK9PSD+ a5aPvKZg4Ix/j7Ifi75e+tysx/695GdgRBijt60YpjW1Zj59N5LZbow4P10SC6WXrhQt d0prox2E7mIPWS0F36/jWC/4y2e0L1QP+4NK+sYRNThPaXwOtmud7KhPMpkbLWIaOami 9CbA== 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=jP0uk2DxBUfoseG4SE1/eWI7EgDsSalCAkiPJlTmJBY=; b=GTBWQ1LJj7rpfmEaZndmlHQ7pzW8zAIngIsQX4AfghrGr4MqstLUeheVMqko8Je4Vx 0iZ+Na9VAEM7FYoP2Av1o5XPx0czTPflHATrd7azHlXYaD20HFS9S7pAPDJ6/tncW5FZ JQNWq5iMI28ozIeBcUercq4XXUPZYMUDPfjLgWJBOne9wzL2wnzcjFPZoT61OUfDk6bf fJ4ndT/ADZFeLyc9IxOVlmdi3RUBr/XCuIRiF/eVJlkh3PFzNYgzNpYduBWwmfUy1QAE w5gAQYU/CV9ZBLXULmc1Uyaf3Ek436EwzcIhE99DEBftmEykGj2w4Z+kEZISGVKac/l9 V1Rw== X-Gm-Message-State: ANhLgQ1l+zSHTRmFL886pHL2bbhx1talbwrTRkLdqgd7BPwCu5P3uLIP MI5pB2++iyJrJsajh+x22B4kR6gJ X-Google-Smtp-Source: ADFU+vsosERzkJVC5oFoRuNryC2gQp+3WwZIN02Eer/DoomTmMCVtJ99HaSL2QW2/8gA/TLTFk1C3g== X-Received: by 2002:a05:600c:2115:: with SMTP id u21mr825473wml.6.1583827683688; Tue, 10 Mar 2020 01:08:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 01:08:02 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Tue, 10 Mar 2020 09:07:17 +0100 Message-Id: <20200310080722.12742-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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). --- 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