diff mbox

[nfs-utils] systemd/Makefile: only install rpc-svcgssd.service if it is required.

Message ID 87y4evza4c.fsf@notabene.neil.brown.name (mailing list archive)
State New, archived
Headers show

Commit Message

NeilBrown Oct. 22, 2015, 6:32 a.m. UTC
If we build without rpc-svcgssd (the default), don't install matching
.service file.

Signed-off-by: NeilBrown <neilb@suse.com>

Comments

Steve Dickson Nov. 4, 2015, 9:50 p.m. UTC | #1
On 10/22/2015 02:32 AM, Neil Brown wrote:
> 
> If we build without rpc-svcgssd (the default), don't install matching
> .service file.
> 
> Signed-off-by: NeilBrown <neilb@suse.com>
Committed... 

steved.

> 
> diff --git a/systemd/Makefile.am b/systemd/Makefile.am
> index 0331926dcc03..03f96e93dccf 100644
> --- a/systemd/Makefile.am
> +++ b/systemd/Makefile.am
> @@ -28,9 +28,13 @@ endif
>  if CONFIG_GSS
>  unit_files += \
>      auth-rpcgss-module.service \
> -    rpc-gssd.service \
> +    rpc-gssd.service
> +
> +if CONFIG_SVCGSS
> +unit_files += \
>      rpc-svcgssd.service
>  endif
> +endif
>  
>  EXTRA_DIST = $(unit_files)
>  
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/systemd/Makefile.am b/systemd/Makefile.am
index 0331926dcc03..03f96e93dccf 100644
--- a/systemd/Makefile.am
+++ b/systemd/Makefile.am
@@ -28,9 +28,13 @@  endif
 if CONFIG_GSS
 unit_files += \
     auth-rpcgss-module.service \
-    rpc-gssd.service \
+    rpc-gssd.service
+
+if CONFIG_SVCGSS
+unit_files += \
     rpc-svcgssd.service
 endif
+endif
 
 EXTRA_DIST = $(unit_files)