From patchwork Thu Dec 12 07:53:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsOpbXkgUk9TRU4=?= X-Patchwork-Id: 1208197 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="lGJESBS3"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47YR063GPBz9sNH for ; Thu, 12 Dec 2019 18:54:30 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2F83F88236; Thu, 12 Dec 2019 07:54:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id djX1wU+x1CJV; Thu, 12 Dec 2019 07:54:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 87E58881C0; Thu, 12 Dec 2019 07:54:17 +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 80E3E1BF293 for ; Thu, 12 Dec 2019 07:54:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 794CF23DB4 for ; Thu, 12 Dec 2019 07:54:11 +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 EC2B33GyIEzO for ; Thu, 12 Dec 2019 07:54:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by silver.osuosl.org (Postfix) with ESMTPS id 6478323C58 for ; Thu, 12 Dec 2019 07:54:10 +0000 (UTC) Received: by mail-wm1-f42.google.com with SMTP id b11so1214435wmj.4 for ; Wed, 11 Dec 2019 23:54:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7JCZJKRt/63DVK7QULN14KD4j3GfrrBkyjKv09RsKRg=; b=lGJESBS3mdsO9pCJPOq7AvdpxI5COZhEBKVduYkZhQpmoBqr8uF2V1dB8J214Yco3s u0FR4SS3HutmjMe3aXGy89uTV9/nAVJXHp8A189gZrtrgOzi7W/F76wZdWGxrC+WjaoA DioS1rqiEtF93GMlt/MPBhEcivgDtSl7Gg2yh2S0KxpniZygWquEXPI0X07QYIQk+bDd 1SMgrBIBq76c2W0gRa0uHT/zd17Zd1dqbiia4LWanE72gMn+Ua831sTcjIzIqR7KpWKw fXKx0V8qoptcwZYoznXQVwg6GJJq+QeNpR5asFLmyOj7dWa133Ks12c90tKr0mEFxjnK QgwA== 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=7JCZJKRt/63DVK7QULN14KD4j3GfrrBkyjKv09RsKRg=; b=hscQ/5O9dzBqqWaCYBoE78iPRcl1qJPCCyta84pcj5Al5b4+5wiF+cTsccLwZztNlU 8aayQQbQVaUrOtbQzoHMe6RhcsQ5pzt2Ku+voqb8SqQcP3JPoFbLnCNJh2aD27e4PWUD zqwZuuSz27IaD3Ngxu7DEMvOxi/gKsQzhj2XdqvFLLGm1L64l6oYAVlfb77Ui7yvoQtd xDIGEZXscXS28P5bmtbQOWd0l/oFms93I22vhYotKMrZIhWrKYvJ/8nf/REQA2c3Z7c1 nizusqX2WTkKZ060kRoFNiFwo+Ptb2xsfOnWzoz35vhrfiI37l2jQxeoJ4fob8QRjSQU sDRw== X-Gm-Message-State: APjAAAW9EasecRC8VvHej81+rLQM3/mjOjH4a3S+NYd4gmGb2XpB2zxZ O5zjelDaVxWn2xYwyuANu+abvpQhWA== X-Google-Smtp-Source: APXvYqw4yftfsVzbZcRhPsIHJfKNRH2aoyuaQNHXbV3pWocRs4aoeejMxxaIM0oMfgo+aQz3Z5j/VA== X-Received: by 2002:a7b:c851:: with SMTP id c17mr4985584wml.71.1576137248652; Wed, 11 Dec 2019 23:54:08 -0800 (PST) Received: from localhost.localdomain (2a02-8428-0351-c201-4ead-12d2-d337-cdfb.rev.sfr.net. [2a02:8428:351:c201:4ead:12d2:d337:cdfb]) by smtp.googlemail.com with ESMTPSA id y20sm4909753wmi.25.2019.12.11.23.54.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 23:54:07 -0800 (PST) From: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= To: buildroot@buildroot.org Date: Thu, 12 Dec 2019 08:53:54 +0100 Message-Id: <20191212075400.1499536-8-jeremy.rosen@smile.fr> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191212075400.1499536-1-jeremy.rosen@smile.fr> References: <20191212075400.1499536-1-jeremy.rosen@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 07/13] package/linuxptp adapt to preset-all 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: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= , "Yann E . MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" linuxptp has two services * linuxptp.service : the actual daemon * linuxptp-system-clock.service : sync the linux clock to the phc clock The first was enabled, the second was not, we now enable both The second has an incorrect (though harmless) WantedBy : there is an explicit Wants= in linuxptp.service Reviewed-by: Yann E.MORIN Signed-off-by: Jérémy Rosen --- package/linuxptp/linuxptp-system-clock.service | 1 - package/linuxptp/linuxptp.mk | 3 --- 2 files changed, 4 deletions(-) diff --git a/package/linuxptp/linuxptp-system-clock.service b/package/linuxptp/linuxptp-system-clock.service index a4436a34a7..57beec4579 100644 --- a/package/linuxptp/linuxptp-system-clock.service +++ b/package/linuxptp/linuxptp-system-clock.service @@ -8,4 +8,3 @@ Restart=always [Install] WantedBy=multi-user.target -WantedBy=linuxptp.service diff --git a/package/linuxptp/linuxptp.mk b/package/linuxptp/linuxptp.mk index c304ff6d6e..97e4af7be7 100644 --- a/package/linuxptp/linuxptp.mk +++ b/package/linuxptp/linuxptp.mk @@ -42,9 +42,6 @@ define LINUXPTP_INSTALL_INIT_SYSTEMD $(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 - mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -sf ../../../../usr/lib/systemd/system/linuxptp.service \ - $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/linuxptp.service endef $(eval $(generic-package))