All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Hesse <list@eworm.de>
To: dm-devel@redhat.com
Cc: Christian Hesse <mail@eworm.de>
Subject: Re: [PATCH 2/2] libmultipath: create libdir on install
Date: Wed, 6 May 2020 09:48:28 +0200	[thread overview]
Message-ID: <20200506094828.727f1d3a@leda> (raw)
In-Reply-To: <20200506073548.41756-2-list@eworm.de>


[-- Attachment #1.1: Type: text/plain, Size: 1221 bytes --]

Christian Hesse <list@eworm.de> on Wed, 2020/05/06 09:35:
> From: Christian Hesse <mail@eworm.de>
> 
> Without this installation fails with:
> 
> install: target '$DESTDIR/usr/lib/multipath' is not a directory
> Signed-off-by: Christian Hesse <mail@eworm.de>
> ---
>  libmultipath/prioritizers/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libmultipath/prioritizers/Makefile
> b/libmultipath/prioritizers/Makefile index 9d0fe03c..11da5be2 100644
> --- a/libmultipath/prioritizers/Makefile
> +++ b/libmultipath/prioritizers/Makefile
> @@ -35,6 +35,7 @@ libprio%.so: %.o
>  	$(CC) $(LDFLAGS) $(SHARED_FLAGS) -o $@ $^
>  
>  install: $(LIBS)
> +	$(INSTALL_PROGRAM) -d $(DESTDIR)$(libdir)
>  	$(INSTALL_PROGRAM) -m 755 libprio*.so $(DESTDIR)$(libdir)
>  
>  uninstall:

Ignore this one... It does not fix the issue. The build system has to be
fixed for simultaneous jobs when installing.

For now installing with just one job (`make -j1`).
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2020-05-06  7:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06  7:35 [PATCH 1/2] libmpathpersist: depend on libmultipath Christian Hesse
2020-05-06  7:35 ` [PATCH 2/2] libmultipath: create libdir on install Christian Hesse
2020-05-06  7:48   ` Christian Hesse [this message]
2020-05-07 21:13     ` Martin Wilck
2020-05-07 22:18       ` Christian Hesse
2020-05-07 21:18 ` [PATCH 1/2] libmpathpersist: depend on libmultipath Martin Wilck
2020-05-07 22:14   ` Christian Hesse

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=20200506094828.727f1d3a@leda \
    --to=list@eworm.de \
    --cc=dm-devel@redhat.com \
    --cc=mail@eworm.de \
    /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.