From patchwork Mon Nov 11 17:24:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsOpbXkgUk9TRU4=?= X-Patchwork-Id: 1193042 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=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="v/ZFOex4"; 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 47Bd7242Bmz9sP3 for ; Tue, 12 Nov 2019 04:25:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 48376870A1; Mon, 11 Nov 2019 17:25:12 +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 z7IME9374YfE; Mon, 11 Nov 2019 17:25:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 49FDF870F6; Mon, 11 Nov 2019 17:25: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 B9CEF1BF955 for ; Mon, 11 Nov 2019 17:25:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7307486881 for ; Mon, 11 Nov 2019 17:25:04 +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 npA1VPEInCKn for ; Mon, 11 Nov 2019 17:25:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0D8098680B for ; Mon, 11 Nov 2019 17:25:02 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id w9so8731656wrr.0 for ; Mon, 11 Nov 2019 09:25:01 -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=xLvdZAnSu6DlIHEwCXIqmit6dcfh2Gs4lmp6OYneWX4=; b=v/ZFOex4ZVE7jYjOizCsUBGQwzBG5xqcWFXpZNTuPHHvtO+EzOFReLqTBA11BgaLgD vCKsEr9smHSWcwLla1PtmfXlJerITiFSd2ZTYjcObo783wz4FEJJCE6tv6j34i9wvPZA BAlZYkihXrkzhiqN8lOg3XAzfvf5lhlza6Crm6wBVhyxyuPSkHmg/T5XZh2Z0/ECAdY/ hNCCwOmGGk0X+JFmvaO0XR2ocAvN0siSWPsRB2B2kTkHJuwDW1tZisC8WTnt/B0z8+rL Y3FCk7p6KaSpwMiK9Kl3sYz2xTZIsi9YkdNfbye1s+gBNpBZtgQKuCraTFyNkwKoFIDB +Ggw== 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=xLvdZAnSu6DlIHEwCXIqmit6dcfh2Gs4lmp6OYneWX4=; b=gZHu19XYJvl7ZX1abctl+eVAeENtop+XKJUMUxdOHB/XFkj3+ZLg5KgV/1mI/WC7/H RbScE+lg82kOsubGyoMrDEVf0yc510H6NAj+DB6EGGhBKB/fPKjP3rJO+U93EvtDgPPI jbzWBoaj42GJOeSaHJRxv70Xg+R/c1rAzlPZNMySFLZedOJUEsvnJYgEl227w91PIQBn EQYBtx8UjjiOHjEqZG2yMqpph7jKIgCYgLHf3+1OMrpEmHNkMLnSKBjcKMSdQguio4rU rzj4e0t0dOR6PRApdOF8Rmd3CkeYee8nZxq3O7hpzi2rGDrmm0q8YjipgDqzzEbOxyVQ U7ZA== X-Gm-Message-State: APjAAAXA9l6/clLSCRfLeGqIeIdYTL5V5lGhTNiLG1AjspjE6gwEh0Bb gWN211nUoiP2CVUmg30IYnZGOEI63g== X-Google-Smtp-Source: APXvYqyDQJQtLLnRjwp/u4yFQQZydjoAvLTBC8g+R+TS3V3I8fKnjMacZTi7m/LixWs27qEaEjfiDQ== X-Received: by 2002:a5d:670a:: with SMTP id o10mr2577733wru.312.1573493100373; Mon, 11 Nov 2019 09:25:00 -0800 (PST) Received: from localhost.localdomain (2a02-8428-0351-c201-62d6-24fd-3fad-e4ae.rev.sfr.net. [2a02:8428:351:c201:62d6:24fd:3fad:e4ae]) by smtp.googlemail.com with ESMTPSA id h15sm13393905wrb.44.2019.11.11.09.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 09:24:59 -0800 (PST) From: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= To: buildroot@buildroot.org Date: Mon, 11 Nov 2019 18:24:41 +0100 Message-Id: <20191111172443.6874-8-jeremy.rosen@smile.fr> X-Mailer: git-send-email 2.24.0.rc1 In-Reply-To: <20191111172443.6874-1-jeremy.rosen@smile.fr> References: <20191111172443.6874-1-jeremy.rosen@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 7/9] 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=?= 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 --- 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))