Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Dan McGregor <danismostlikely@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/4] file: alternatify file
Date: Wed, 17 Oct 2018 15:22:33 -0600	[thread overview]
Message-ID: <20181017212235.8453-2-danismostlikely@gmail.com> (raw)
In-Reply-To: <20181017212235.8453-1-danismostlikely@gmail.com>

From: Dan McGregor <dan.mcgregor@usask.ca>

file is also provided by toybox.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
---
 meta/recipes-devtools/file/file_5.34.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/file/file_5.34.bb b/meta/recipes-devtools/file/file_5.34.bb
index 6612b71000e..5d92913cb03 100644
--- a/meta/recipes-devtools/file/file_5.34.bb
+++ b/meta/recipes-devtools/file/file_5.34.bb
@@ -21,7 +21,10 @@ SRC_URI = "git://github.com/file/file.git \
 SRCREV = "315cef2f699da3c31a54bd3c6c6070680fbaf1f5"
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools update-alternatives
+
+ALTERNATIVE_${PN} = "file"
+ALTERNATIVE_LINK_NAME[file] = "${bindir}/file"
 
 EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
 EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
-- 
2.19.0-dev



  reply	other threads:[~2018-10-17 21:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-17 21:22 [PATCH 1/4] util-linux: alternatify cal, rev, and ionice Dan McGregor
2018-10-17 21:22 ` Dan McGregor [this message]
2018-10-17 21:22 ` [PATCH 3/4] kmod: bump alternative priority Dan McGregor
2018-10-17 21:22 ` [PATCH 4/4] base-files: change permissions on /sys and /proc Dan McGregor
2018-10-18 10:22 ` [PATCH 1/4] util-linux: alternatify cal, rev, and ionice Burton, Ross

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=20181017212235.8453-2-danismostlikely@gmail.com \
    --to=danismostlikely@gmail.com \
    --cc=openembedded-core@lists.openembedded.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