linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Calvin Walton <calvin.walton@kepstin.ca>
To: Steve Dickson <SteveD@redhat.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfs-utils: Substitute sbindir in systemd unit files.
Date: Mon, 02 Nov 2015 08:23:50 -0500	[thread overview]
Message-ID: <1446470630.8952.6.camel@kepstin.ca> (raw)
In-Reply-To: <56375CD4.3010806@RedHat.com>

Hi Steve,

On Mon, 2015-11-02 at 07:53 -0500, Steve Dickson wrote:
> Hello, 
> 
> I'm finally getting around to looking at this and
> I'm seen a couple issues...

> > -unit_dir = /usr/lib/systemd/system
> > -
> > -if INSTALL_SYSTEMD
> > -install-data-hook: $(unit_files)
> But after making the patch apply cleanly the scripts
> no longer get installed and I believe its 
> because you took out the above rule. 

You had actually ran into this same issue when you reviewed the patch
earlier. This rule isn't needed because automake's built-in install
path functionality is used - but the files only get installed if
  --with-systemd=/some/path
is passed to configure. (If you only use --with-systemd, you might find
the units get installed to the directory "/yes")

The conclusion was that some patching of configure was needed - it
should enable installing the unit files by default if systemd is found,
and not require manually specifying the path where to install the units
(using e.g. pkg-config to find it if unspecified)

I should have done this earlier, but was busy with some other stuff for
work.

I'm ok with autoconf stuff, so I'll take a look at rolling an updated
patch series with the configure changes. Hopefully it'll get done
before several months have passed...

-- 
Calvin Walton <calvin.walton@kepstin.ca>


  reply	other threads:[~2015-11-02 13:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21 17:40 [PATCH] nfs-utils: Substitute sbindir in systemd unit files Calvin Walton
2015-04-21 17:43 ` Calvin Walton
2015-07-14 14:32   ` Steve Dickson
2015-07-14 15:22     ` Calvin Walton
2015-07-14 15:36       ` Steve Dickson
2015-11-02 12:53   ` Steve Dickson
2015-11-02 13:23     ` Calvin Walton [this message]
2015-05-06 20:28 ` Steve Dickson
2015-05-06 20:39   ` Calvin Walton
2015-05-07 13:36     ` Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446470630.8952.6.camel@kepstin.ca \
    --to=calvin.walton@kepstin.ca \
    --cc=SteveD@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).