From patchwork Fri Mar 20 19:13:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Williams X-Patchwork-Id: 452755 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 21339140146 for ; Sat, 21 Mar 2015 06:14:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6F6EB33CC7; Fri, 20 Mar 2015 19:14:38 +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 x+Yy2dSxvZ5z; Fri, 20 Mar 2015 19:14:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B51E333CC6; Fri, 20 Mar 2015 19:14:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9CDD21C2357 for ; Fri, 20 Mar 2015 19:14:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 990DB9259C for ; Fri, 20 Mar 2015 19:14:29 +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 ViaIZooaz40n for ; Fri, 20 Mar 2015 19:14:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by whitealder.osuosl.org (Postfix) with ESMTPS id 68EC59259B for ; Fri, 20 Mar 2015 19:14:28 +0000 (UTC) Received: by ykcn8 with SMTP id n8so47008959ykc.3 for ; Fri, 20 Mar 2015 12:14:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Iljb6O7wafnTYu+6vcTzi5UEn/sgOwJxhDAY018NTlY=; b=O5AU3idRnFWwRXcIQJhFFX7mT/wvw6Kcz8a43eLDRPJLB+tJGFR//2pdpmTdEoRueO fwKkjtpmTnckICePF6e9SpDMxhZks8odeqR/V+FsqkKGAkYsaxfxjnbM5rJW+hyYsziL JP/MdgoIAclYp5QQhDn5arxfF4JamNrDbUPG2rYKu99X54SHAoZxoxYuJXfXYxEsnE7g N0uNoNxS6s5KU8CJWjYQnLKRPKOyZ3qHKxZgEjLD7e7RHa4yeZvD4ESbSsSoUvHQvIi8 8Y5pxgyds0qEEzZgARhYPBV1RsmMXsFpgI0uaPl0xkqrp8GhQ5XfY2nGrBj0w7HiptG+ 31Hg== X-Gm-Message-State: ALoCoQnemGawjryMXcFFW2ExueK2vSNswYbdkeM8nF1fRhjD8LL379Y57XUzc77nVhR8KYtJhRSh X-Received: by 10.170.95.7 with SMTP id m7mr95282637yka.67.1426878867725; Fri, 20 Mar 2015 12:14:27 -0700 (PDT) Received: from mikework.lifesafer.com (FUSE-DEDICATED-66-42-228-99.fuse.net. [66.42.228.99]) by mx.google.com with ESMTPSA id c5sm4193119yhf.29.2015.03.20.12.14.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Mar 2015 12:14:26 -0700 (PDT) From: Mike Williams To: buildroot@busybox.net Date: Fri, 20 Mar 2015 15:13:53 -0400 Message-Id: <1426878856-15747-3-git-send-email-mike@mikebwilliams.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426878856-15747-1-git-send-email-mike@mikebwilliams.com> References: <1426878856-15747-1-git-send-email-mike@mikebwilliams.com> Subject: [Buildroot] [PATCH v2 02/25] ntp: move systemd service file to /usr/lib X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Mike Williams --- package/ntp/ntp.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 7d5644a..36dea79 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -71,9 +71,10 @@ define NTP_INSTALL_INIT_SYSV endef define NTP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/etc/systemd/system/ntpd.service + $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -fs ../ntpd.service $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service + ln -fs ../../../../usr/lib/systemd/system/ntpd.service \ + $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service endef endif