From patchwork Sat Dec 7 18:00:43 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: 1205498 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=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="1jmS8X/l"; 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 47VchX219Fz9sNx for ; Sun, 8 Dec 2019 05:01:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5433C870E0; Sat, 7 Dec 2019 18:01: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 IQu0IuNqBOVX; Sat, 7 Dec 2019 18:01:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B81158704B; Sat, 7 Dec 2019 18:01:06 +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 881091BF3BE for ; Sat, 7 Dec 2019 18:01:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 84ABB2047C for ; Sat, 7 Dec 2019 18:01:02 +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 WsYW-34RTzyd for ; Sat, 7 Dec 2019 18:01:00 +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 silver.osuosl.org (Postfix) with ESMTPS id 2BEB2203E8 for ; Sat, 7 Dec 2019 18:01:00 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id t14so10557863wmi.5 for ; Sat, 07 Dec 2019 10:01:00 -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=1jmS8X/lDnKjslVZ8mi9QJcMI0qsK6LmfzErVe8MO8wkQZikLHTBgLGO9NjaiB8MF1 3dCY6Vdu1vCoSKZReyVJWcvRKFZqbBHkpHkmQ7x/Jd3K2a2uNGPRBxGxvy8yIPbHIk/r igml50zDY2gogHaBTWs1GSsFu4RD/QS/cEoVkAqMeH7dC2+l2B3CsM9j/n6Bbl2n9JUV NO2DWE35/RtnbahvoGToQ3nbRg0+kRJ0vxwzlkRdeA2cQG6DU7rqJwwNUjjJmsCmr+f/ BcMfg5s1iNHyObJwqVvcJS9BzPQExzGYeHPsiPPNDXXUenrSYNAE6AJZ3Ot2hkDwA9CA l0uQ== 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=Xx/D4RqvxHsIchxdc94YAlqWargJQVYT9S7aUBVt8+Y6OrYIsn7WEyuE0fPkWYAGKu KFq9NXUAIhg/s8Q6OCmu6JnvtAAuxw/D38ryffgdFephIX8uTxdB8EGKmWWBQHqNd19o 2jzo8Gow0OXFyx12rzvEs6VEC3/cc0Ke3uJgpsxbi/zflrFWCL5+N3gaxc/8nApUt62j GjdOIxfaP2CPrvAPP8k9nTyHM2wymK6bdoCPZiveNihnBjTjwz4sZVfokGYRNE2FINCw qvPX4ZDuKf2MOKiWeDTrt4wzbINBX39kcZu2OnUwSIEka6uYKHLUyiZ1lo/j+ZkZeEg7 DtPQ== X-Gm-Message-State: APjAAAXa4lWIq1WDJShVxmdpBTfdtrCe+2jGWl3d49NyQEQCRV3q28C4 VxEJe64kE3s70UnU9Glm63rB44bWcA== X-Google-Smtp-Source: APXvYqzrcfKwQNuUpuKI0X6/GhynPaVkT6ii4h3CdRUVnTM/7xEz+bZyCtQYGQl+4z9fn2jb7h0Hrg== X-Received: by 2002:a1c:238c:: with SMTP id j134mr17017646wmj.151.1575741658409; Sat, 07 Dec 2019 10:00:58 -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 z4sm7558964wme.17.2019.12.07.10.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 10:00:57 -0800 (PST) From: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= To: buildroot@buildroot.org Date: Sat, 7 Dec 2019 19:00:43 +0100 Message-Id: <20191207180049.3245578-8-jeremy.rosen@smile.fr> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191207180049.3245578-1-jeremy.rosen@smile.fr> References: <20191207180049.3245578-1-jeremy.rosen@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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))