From patchwork Fri Mar 20 19:14:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Williams X-Patchwork-Id: 452775 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id E7678140140 for ; Sat, 21 Mar 2015 06:15:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1D15E926FB; Fri, 20 Mar 2015 19:15:37 +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 pQb7EMqKiwLe; Fri, 20 Mar 2015 19:15:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 705DD926C5; Fri, 20 Mar 2015 19:15:30 +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 932B01C2357 for ; Fri, 20 Mar 2015 19:15:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8FE77926AE for ; Fri, 20 Mar 2015 19:15:00 +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 vPs2hKfEdN5g for ; Fri, 20 Mar 2015 19:15:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com [209.85.160.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id E41B39259B for ; Fri, 20 Mar 2015 19:14:59 +0000 (UTC) Received: by ykfs63 with SMTP id s63so47271831ykf.2 for ; Fri, 20 Mar 2015 12:14:59 -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=FCC5PekDrLTGvgrOpUUCYWDD/NNjozf0luyDCPoPGog=; b=GClsk8dzsH1Ot/7EibSuWpEyqlhbJ+T5l+bAHuFF0rNT1rhhu0MBCLDB7zZBADdqaR 54GXucBEljaOFyYWaRYQDS7U8nFkj1Nh6LnWEbDo8q4CaNCB+6D3wVBCufx4anCSvDe2 Dyl5JJjR9c0TKPs+uGB5AH3NnKTr7pj7mwV9RhHQzhZC/pFekp/CUZTGR2yaKs51yQKX 1B468hjmn8gmNPnDg2wspmOYyoInKHllJTM40O9HgH8SLgRIVw3NNNxE6rHvpgzLb4rI EM3/8ivKu7UWaHa+7ObRrEp5PIRJBbXF9UE9IlGwcF0AsUzilyNk8anRq1UygTm5sAC+ 12WA== X-Gm-Message-State: ALoCoQmjtJVemCnn+qKRjPV3+PuaZZxtwnMY3E+hj60gZNpW7/R+ImOe3MZsrGNQkol6Ahg7vYgv X-Received: by 10.170.69.135 with SMTP id l129mr51433563ykl.62.1426878899174; Fri, 20 Mar 2015 12:14:59 -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.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Mar 2015 12:14:58 -0700 (PDT) From: Mike Williams To: buildroot@busybox.net Date: Fri, 20 Mar 2015 15:14:15 -0400 Message-Id: <1426878856-15747-25-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 24/25] wpa_supplicant: install systemd service files 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" Unlike other systemd services, these are not enabled by default, as the most likely configuration is that they will be managed by something like NetworkManager. Signed-off-by: Mike Williams --- package/wpa_supplicant/wpa_supplicant.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 5a81a91..4b2ec16 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -165,4 +165,15 @@ define WPA_SUPPLICANT_INSTALL_TARGET_CMDS $(WPA_SUPPLICANT_INSTALL_DBUS) endef +define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant.service + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant@.service + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-nl80211@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-nl80211@.service + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-wired@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-wired@.service +endef + $(eval $(generic-package))