Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2228242ybt; Sun, 28 Jun 2020 12:10:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym/WtjYDnyW7OEPiOWSXxyUfB3+IvPJWXDLMJEeQZou3nBHHUb+38lYtj67xvD+WSVYc4c X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr14624112edx.342.1593371446520; Sun, 28 Jun 2020 12:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593371446; cv=none; d=google.com; s=arc-20160816; b=fbBvVdrCPFae1I1szzYuV1lSV5LMaxvm8cXcjxMCvdcLdHJPW9fCV45v+e926pUbja aqOSjc06MP3u9mwPNB7IaRzHesbOravJ/xOKhrsZaPiXzYQ79CY1wFKhVie1DeU4skQ5 ELxCHJP7kdyKpnIPJJjW7w9UFW3nboQ50dm1rSl1cbOrowRfX2OiLpjq9sQKlGNaUdHe rqyv6hIzno+l56GZUn1MEnor942TZkt+TJXbrlwiA4VpLl3oHKjdnrWGgGQU19rnDoHm CcP2CmYm8Kxols4qgcXCEn8QvORgS8pk36Q/BWDc09OtujfIkihkN7NSCR9frbAqdwhF BMeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8903YLQ1rIwqRAQbysd9VVqtW87VpYeZxwAfqymplTs=; b=Xg6wWhfbQG7TG7OqMfJuO59mGUn4AvD5PkAb5+rNfK6DxCLiqRuI6pgt5R8LYFbWi4 GwoLvbX9XGalYHb8BnP3ireuMzIViovTdRkIIwibqj94e4BSOQFb0MwE8WbCZuCG40T0 qp0kqbsUrQxHtdjdj7nMwoshjcNEZZi+TlRH72ICvwXMWzSPy+WjX1sk1PRndwPBE2g/ 2rX/9tt419bhvekvO8p3VJzqYyZtAnImkrxVULewnXO5YCnZ7W5/V9craFgvZZ0lOq52 bputkx5tZFW2A+Lw69W0KYvo2+1h/IV7uejFZEOofmlR4VbdRYOB94TJ9HhnR4QJole2 +LDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FqfI382r; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do11si27563777ejc.450.2020.06.28.12.10.16; Sun, 28 Jun 2020 12:10:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FqfI382r; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726695AbgF1TKP (ORCPT + 99 others); Sun, 28 Jun 2020 15:10:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726665AbgF1TKP (ORCPT ); Sun, 28 Jun 2020 15:10:15 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20F21C03E979 for ; Sun, 28 Jun 2020 12:10:15 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id rk21so14486790ejb.2 for ; Sun, 28 Jun 2020 12:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8903YLQ1rIwqRAQbysd9VVqtW87VpYeZxwAfqymplTs=; b=FqfI382rJ8+TyBAZmaI8Umm8MUhLXjEGoeNyzaGiBAiXBoePy+skDUs7QUtwRzkWwf uR+kxpFnXnvMq0uuh6EkdAd6JG/l233bIMZq9lUlPhDL9TPH3rSVU7lGucZpgmPoUseu 7Deu4eg4dGSboFXecn7SK9YvJxTgyX0ZlmqXOPGtia1qtrbz+ksaAnh4nuPgGpuK/MxX kZYLxXam3eIvA7+VGBsE/4ZIzf88Wc8CKUHjHjAzXBTFBJah3vOmvecUn9xX6jny1TFp 0405SuqI8OuEbpJNoj/32IZIcIKViF1tPrsMH4F0fLmeiCg2lBWT7LptNg1/4ocMjKsZ 8+2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=8903YLQ1rIwqRAQbysd9VVqtW87VpYeZxwAfqymplTs=; b=VVWb6qQbyVI0z3ywh1uCjL/YPFAAaCbszNYDAPLmMqQg2HdBmuSZUJPiIa6EQ2ZkLg R3KMx+2o6jTkoNwBhEtfkoWJPzm0WCOsA/Zz0M6VcAYwyvprmA2dMtm2Zkxda+sIy/4u OIAIvdoufpQovhzHzEfPWw2OZ6fcLM7Gyr5ywrbkTQ+7luZCktvwAh4RU11beSjOBaOV XSMwpBQGy/kpLNtsu0uYG9aopYgndJvyMGml55Hvw94G0CaoY0po6030QUbPoQ9oeGu8 CknIecZ3J03rjKaZUZ11+2Zm/ZRkXizEF/96rc4T8apIAhv2D2/vB4Rnf5pThIqQF0Nx Npvg== X-Gm-Message-State: AOAM530JKZsX1ZiUr7POoDu8P1ZLfCttMX99MCJPVB2ulcqz2W814APV CAMDYngq5/kNV/TeX9PToQI= X-Received: by 2002:a17:906:50b:: with SMTP id j11mr10871186eja.127.1593371413858; Sun, 28 Jun 2020 12:10:13 -0700 (PDT) Received: from eldamar (80-218-24-251.dclient.hispeed.ch. [80.218.24.251]) by smtp.gmail.com with ESMTPSA id j24sm1090102edp.22.2020.06.28.12.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 12:10:12 -0700 (PDT) From: Salvatore Bonaccorso To: linux-nfs@vger.kernel.org Cc: NeilBrown , Scott Mayhew , Steve Dickson , Salvatore Bonaccorso Subject: [PATCH 2/2] systemd generators: Install depending on location for systemd unit files Date: Sun, 28 Jun 2020 21:10:02 +0200 Message-Id: <20200628191002.136918-3-carnil@debian.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200628191002.136918-1-carnil@debian.org> References: <20200628191002.136918-1-carnil@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org While it is possible to configure the systemd unit files directory on configure time with --with-systemd=unit-dir-path, this path is not taken into account for installing the systemd unit generators, as they are installed unconditionally in /usr/lib/systemd/system-generators. Signed-off-by: Salvatore Bonaccorso --- systemd/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/Makefile.am b/systemd/Makefile.am index f089c8831902..9ee4f1c8f967 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -45,7 +45,7 @@ man5_MANS = nfs.conf.man man7_MANS = nfs.systemd.man EXTRA_DIST = $(unit_files) $(man5_MANS) $(man7_MANS) -generator_dir = /usr/lib/systemd/system-generators +generator_dir = $(unitdir)/../system-generators EXTRA_PROGRAMS = nfs-server-generator rpc-pipefs-generator genexecdir = $(generator_dir) -- 2.27.0