All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Jim Rees <rees@umich.edu>
Cc: Boaz Harrosh <bharrosh@panasas.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] osd_login: fix DESTDIR install
Date: Thu, 17 May 2012 12:08:40 -0400	[thread overview]
Message-ID: <201205171208.42226.vapier@gentoo.org> (raw)
In-Reply-To: <20120517130925.GA10380@umich.edu>

[-- Attachment #1: Type: Text/Plain, Size: 1660 bytes --]

On Thursday 17 May 2012 09:09:25 Jim Rees wrote:
> Boaz Harrosh wrote:
> 
>   On second thought, You know, I'm not sure about this fix.
> 
>   A lot of times we install to a side folder, so we can later
>   tar and package the sub-folder without actually affecting
>   our live system. What will happen with the packagers that
>   are not RPM don't they rely on this?
> 
>   I would like to let the user to install nfs-utils on the
>   side and to not conflict with the running system. Someone
>   how knows what he is doing can override the Kernel path
>   to what he wants. Just as he will need to override the
>   nfs init scripts.
> 
>   So I would prefer if we can just create the $(DESTDIR)/sbin/
> 
> I think the makefiles already create $(DESTDIR)$(sbindir).  The problem was
> that you weren't using $(DESTDIR)$(sbindir), you were using
> $(DESTDIR)/sbin.  The patch sets $(sbindir) to /sbin, so everything should
> just work.
> 
> But I could be wrong, automake is a black box to me.

i don't think that was the issue.  the osd_login dir wasn't telling automake 
that it was installing anything (whether sbindir or /sbin or anywhere else), 
so this makefile didn't create the destdir automatically.

now that automake knows we have things to install into $sbindir (regardless of 
its value), it knows it has to create it before trying to install things.

it might have worked in the past for people because either (1) they didn't use 
DESTDIR into an empty path or (2) they weren't running in parallel so the 
other subdir (that installs `mount`) took care of implicitly creating 
$(DESTDIR)/sbin for them.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2012-05-17 16:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17  5:24 [PATCH] osd_login: fix DESTDIR install Mike Frysinger
2012-05-17 11:53 ` Jim Rees
2012-05-17 12:07   ` Boaz Harrosh
2012-05-17 12:28   ` Steve Dickson
2012-05-17 12:19 ` Boaz Harrosh
2012-05-17 13:09   ` Jim Rees
2012-05-17 13:42     ` Boaz Harrosh
2012-05-17 16:08     ` Mike Frysinger [this message]
2012-05-17 12:27 ` Steve Dickson
2012-05-17 12:42   ` NeilBrown

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=201205171208.42226.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=bharrosh@panasas.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=rees@umich.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.