From patchwork Wed Sep 21 22:08:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 9344333 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0AA92601C2 for ; Wed, 21 Sep 2016 22:32:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AC4E2A2F4 for ; Wed, 21 Sep 2016 22:32:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F9B12A346; Wed, 21 Sep 2016 22:32:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B36DE2A2F4 for ; Wed, 21 Sep 2016 22:32:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934252AbcIUWcd (ORCPT ); Wed, 21 Sep 2016 18:32:33 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:57629 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934051AbcIUWcd (ORCPT ); Wed, 21 Sep 2016 18:32:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obsidianresearch.com; s=rsa1; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=PoPNtEV+IkIIQOxr5HHZUjufAu+X7zMpW/0Ii5DAHiY=; b=0d/3kxZswcn5wh1h9lHEivR1RwI9a7wOZB4GegJwySc3OOpq9seMjNT4h8rHOpBiVC1IXsCOriule/aioIZwQ+VPJUnd7jkIMwIlC3jdNtKBxG3UX2yIUrUMC+U+XY3oC/khbyvASp4IU0/KzhUdqpFO5UuHstpUq3b4nk6zshw=; Received: from [10.0.0.151] (helo=jggl.edm.orcorp.ca) by quartz.orcorp.ca with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bmphG-0003vd-MD; Wed, 21 Sep 2016 16:08:54 -0600 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Tatyana Nikolova Subject: [PATCH 19/23] iwpmd: Install ancillary files for iwpm Date: Wed, 21 Sep 2016 16:08:45 -0600 Message-Id: <1474495729-17604-20-git-send-email-jgunthorpe@obsidianresearch.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1474495729-17604-1-git-send-email-jgunthorpe@obsidianresearch.com> References: <1474495729-17604-1-git-send-email-jgunthorpe@obsidianresearch.com> X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.151 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There were installed manually inside the rpm spec file, our standard is to do them during 'make install' Signed-off-by: Jason Gunthorpe --- iwpmd/src/CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/iwpmd/src/CMakeLists.txt b/iwpmd/src/CMakeLists.txt index 5ffc21264ae2..e6255b597733 100644 --- a/iwpmd/src/CMakeLists.txt +++ b/iwpmd/src/CMakeLists.txt @@ -7,6 +7,10 @@ target_link_libraries(iwpmd ${NL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ) -# FIXME iwpmd_init init.d file -# FIXME iwpmd.service systemd file -# FIXME iwpmd.conf + +install(FILES "../iwpmd.service" DESTINATION "${CMAKE_INSTALL_SYSTEMD_SERVICEDIR}") +install(FILES "../iwpmd_init" + DESTINATION "${CMAKE_INSTALL_INITDDIR}" + RENAME "iwpmd" + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) +install(FILES "../iwpmd.conf" DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}")