From patchwork Mon Dec 16 10:30:46 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: 1210221 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="DBH2mhA8"; 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 47byHD5NsNz9sPK for ; Mon, 16 Dec 2019 21:31:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4144087C9A; Mon, 16 Dec 2019 10:31:19 +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 27kQDZieZVIJ; Mon, 16 Dec 2019 10:31:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 65B8C87CDA; Mon, 16 Dec 2019 10:31:15 +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 1BC261BF2B5 for ; Mon, 16 Dec 2019 10:31:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 129AE854DF for ; Mon, 16 Dec 2019 10:31: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 02I6hkg4ql8g for ; Mon, 16 Dec 2019 10:31:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5945085660 for ; Mon, 16 Dec 2019 10:31:06 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id a5so6137273wmb.0 for ; Mon, 16 Dec 2019 02:31:06 -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=DBH2mhA8Nk6Mt10cN3a1cDmZM8wr+XZRUu0ZjI6youMRnMl7fPLEf9TEbSqLSYbUhL fCVbDa0145gBLwqK7CFNpHqSuzjs1cMfAbnLCa+u00loydS7XedBhr6aoxvL4omHGN+7 rco6kOIJVOPfzU1nw6bgl6gaGZmJXu+UyoDcPbjYaBvj+35cdWcYOwKfK9/apSmJ2gPk nlqELoUK17KuNF0Ov75hUthKsCuprp4rhbG1JMhGbjUZNdj7utgJSyhMmhuLOXyvYtw2 FNIV2MgW7mtd4h8TBShkMKlEHfYDWNQWMeJq3UdBWsqPpm66iznedtx0n058vD8Jye02 CTQQ== 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=sok1RrBQqlvMFIGEeRcdvRu76DdQvxnmx4MVuAUgTHYH4CG/bR5tJRB8imo3CzX+jc CKJzdE1kJTjIu2ponUA3G7SjLXRSwvrKRMviPS+N0pDCIlAE+EMFLQ50eDMQf6GrKaTe 0UR03QWxk0OiPEgVCtvDE+igaOEtdD9Uz85KcANom4JBtO4q7E+BQRK5gPuBNxLMg7jd +sjTSKKpS9DaX1YTZamQvzWtGdYtjKlRDG1LTS/NRjZ2LzxRg/HqQN/NPRixc8A5bZH7 LM8YAsjOXqDEPsBSxjU6EL924NXGXiyy/TAZ5ZT+cDTUqnmYOd32SmRqLGIa+YYoKLYG x9HQ== X-Gm-Message-State: APjAAAVn+ZRcTn9oT+jhSGqfcDqFwGyKPr+odmP5gRRpTPBx0ktudWTX Hj7pmIEZYRfYaFEhim/LdVOpJAAbqA== X-Google-Smtp-Source: APXvYqxHrDtKxhf0r9xVd27otQp9uCmteuMELpcrC0TJXAdpER5kn0a6u+Z1TSFgi0mhfViKT/mO+A== X-Received: by 2002:a05:600c:224d:: with SMTP id a13mr29415706wmm.70.1576492264669; Mon, 16 Dec 2019 02:31:04 -0800 (PST) Received: from localhost.localdomain ([2a01:e0a:4f5:d4c0:c24e:c904:189d:5967]) by smtp.googlemail.com with ESMTPSA id h8sm22313643wrx.63.2019.12.16.02.31.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 02:31:04 -0800 (PST) From: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= To: buildroot@buildroot.org Date: Mon, 16 Dec 2019 11:30:46 +0100 Message-Id: <20191216103052.35220-8-jeremy.rosen@smile.fr> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191216103052.35220-1-jeremy.rosen@smile.fr> References: <20191216103052.35220-1-jeremy.rosen@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v5 07/13] package/linuxptp adapt to systemctl 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))