From patchwork Tue Mar 3 19:42:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Williams X-Patchwork-Id: 445859 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id B723814019D for ; Wed, 4 Mar 2015 06:49:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 46B5D94250; Tue, 3 Mar 2015 19:49:46 +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 kgJSamsFxes1; Tue, 3 Mar 2015 19:49:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3E53793C3B; Tue, 3 Mar 2015 19:49:45 +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 C769C1BFA89 for ; Tue, 3 Mar 2015 19:49:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C1FFF9136E for ; Tue, 3 Mar 2015 19:49:43 +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 cc9F1zKhfEGn for ; Tue, 3 Mar 2015 19:49:31 +0000 (UTC) X-Greylist: delayed 00:07:04 by SQLgrey-1.7.6 Received: from mail-yh0-f51.google.com (mail-yh0-f51.google.com [209.85.213.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 07BC79135C for ; Tue, 3 Mar 2015 19:49:31 +0000 (UTC) Received: by yhoa41 with SMTP id a41so19604702yho.9 for ; Tue, 03 Mar 2015 11:49:30 -0800 (PST) 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; bh=WDqiPeG2SFK7/rPGYkyfkrysoyG+c4f+jHLC2XSSyGk=; b=OdwXbZVZJwJ4QgIluhBHJNWccMZcrEBiIYbBiKgLfKo9olbAN2EFWUnh0yk0fjkqKg gXMaKpYMi+6b/GPfvEIg+D2VVIJETG+9rbhKTxQ4wPNnHoaYrq0oivFuB4S3eXXLkwZ4 SO2R+vVNykyDJF9j4rbxfud1RMfHhNvbwQtABIzdKEmkMpd1ebSTvuqc7Ab2pXu1JlJx dLhNwznn3jibfCkuvpI3Q6CgTgRlgHS6ekVNzFvEgIwy5yP86gxTc/1DXEBsnJWZLryl YmQHA/A40sJo0ntwIzvpsXig7b2soiGBwNJpSktyPjtojK76uXjjBAGoGlJwZZIml7gB GR1g== X-Gm-Message-State: ALoCoQn/oKz8SjXSUIT/F0mYEWvkl6Q3C/TMQwPMqxQ2bMFM266qfVuepbhlfYoh+iwn+tmikKhe X-Received: by 10.170.123.138 with SMTP id p132mr408659ykb.126.1425411746049; Tue, 03 Mar 2015 11:42:26 -0800 (PST) Received: from mikework.lifesafer.com (FUSE-DEDICATED-66-42-228-99.fuse.net. [66.42.228.99]) by mx.google.com with ESMTPSA id o48sm1251877yhb.56.2015.03.03.11.42.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Mar 2015 11:42:25 -0800 (PST) From: Mike Williams To: buildroot@busybox.net Date: Tue, 3 Mar 2015 14:42:18 -0500 Message-Id: <1425411738-3369-1-git-send-email-mike@mikebwilliams.com> X-Mailer: git-send-email 2.1.0 Subject: [Buildroot] [PATCH] 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" 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 682cb4c..185c646 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -164,4 +164,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)/lib/systemd/system + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant@.service \ + $(TARGET_DIR)/lib/systemd/system + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-nl80211@.service \ + $(TARGET_DIR)/lib/systemd/system + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-wired@.service \ + $(TARGET_DIR)/lib/systemd/system +endef + $(eval $(generic-package))