Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv2] libcap: fix target install
Date: Wed, 29 Dec 2010 09:21:54 +0100	[thread overview]
Message-ID: <87pqslj8f1.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1293566135-8862-1-git-send-email-gustavo@zacarias.com.ar> (Gustavo Zacarias's message of "Tue, 28 Dec 2010 16:55:35 -0300")

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> /usr/lib/libcap.so.* was installed via "install -D" but libcap.so.2 is
 Gustavo> a symlink so it was dereferenced.

 Gustavo> Also update the buildsystem patch so that the shared lib is +X.
 
 Gustavo>  define LIBCAP_INSTALL_TARGET_CMDS
 Gustavo> - install -D $(STAGING_DIR)/usr/lib/libcap.so.* $(TARGET_DIR)/usr/lib
 Gustavo> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(TARGET_DIR) prefix=/usr lib=lib install
 Gustavo> + $(RM) -f $(addprefix $(TARGET_DIR)/usr/sbin/,capsh getpcaps)
 Gustavo>  endef

We use raw 'rm' plenty of other places, so I've fixed that.

Committed, thanks.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2010-12-29  8:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 19:55 [Buildroot] [PATCHv2] libcap: fix target install Gustavo Zacarias
2010-12-29  8:21 ` Peter Korsgaard [this message]

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=87pqslj8f1.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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