From: sonic.adi at gmail.com <sonic.adi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] util-linux: flat: Add patch to avoid creating dynamic libraries.
Date: Mon, 11 Nov 2013 18:29:25 +0800 [thread overview]
Message-ID: <1384165765-23210-2-git-send-email-Sonic.adi@gmail.com> (raw)
In-Reply-To: <1384165765-23210-1-git-send-email-Sonic.adi@gmail.com>
From: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
---
package/util-linux/util-linux-flat.patch | 39 ++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 package/util-linux/util-linux-flat.patch
diff --git a/package/util-linux/util-linux-flat.patch b/package/util-linux/util-linux-flat.patch
new file mode 100644
index 0000000..2cfae0f
--- /dev/null
+++ b/package/util-linux/util-linux-flat.patch
@@ -0,0 +1,39 @@
+diff -urN util-linux-2.23.2.old/libblkid/src/Makemodule.am util-linux-2.23.2/libblkid/src/Makemodule.am
+--- util-linux-2.23.2.old/libblkid/src/Makemodule.am 2013-07-15 16:25:46.281049040 +0800
++++ util-linux-2.23.2/libblkid/src/Makemodule.am 2013-11-11 16:28:19.956656546 +0800
+@@ -220,7 +220,8 @@
+
+ # move lib from $(usrlib_execdir) to $(libdir) if needed
+ install-exec-hook-libblkid:
+- if test "$(usrlib_execdir)" != "$(libdir)"; then \
++ ls $(DESTDIR)$(usrlib_execdir)/libblkid.so.*; \
++ if $? == 0 && test "$(usrlib_execdir)" != "$(libdir)"; then \
+ mkdir -p $(DESTDIR)$(libdir); \
+ mv $(DESTDIR)$(usrlib_execdir)/libblkid.so.* $(DESTDIR)$(libdir); \
+ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libblkid.so); \
+diff -urN util-linux-2.23.2.old/libmount/src/Makemodule.am util-linux-2.23.2/libmount/src/Makemodule.am
+--- util-linux-2.23.2.old/libmount/src/Makemodule.am 2013-02-28 00:46:29.874020654 +0800
++++ util-linux-2.23.2/libmount/src/Makemodule.am 2013-11-11 16:29:37.366370584 +0800
+@@ -120,7 +120,8 @@
+
+ # move lib from $(usrlib_execdir) to $(libdir) if needed
+ install-exec-hook-libmount:
+- if test "$(usrlib_execdir)" != "$(libdir)"; then \
++ ls $(DESTDIR)$(usrlib_execdir)/libmount.so.*; \
++ if $? == 0 && test "$(usrlib_execdir)" != "$(libdir)"; then \
+ mkdir -p $(DESTDIR)$(libdir); \
+ mv $(DESTDIR)$(usrlib_execdir)/libmount.so.* $(DESTDIR)$(libdir); \
+ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libmount.so); \
+diff -urN util-linux-2.23.2.old/libuuid/src/Makemodule.am util-linux-2.23.2/libuuid/src/Makemodule.am
+--- util-linux-2.23.2.old/libuuid/src/Makemodule.am 2013-02-28 00:46:29.882020725 +0800
++++ util-linux-2.23.2/libuuid/src/Makemodule.am 2013-11-11 16:29:00.700507322 +0800
+@@ -39,7 +39,8 @@
+
+ # move lib from $(usrlib_execdir) to $(libdir) if needed
+ install-exec-hook-libuuid:
+- if test "$(usrlib_execdir)" != "$(libdir)"; then \
++ ls $(DESTDIR)$(usrlib_execdir)/libuuid.so.*; \
++ if $? == 0 && test "$(usrlib_execdir)" != "$(libdir)"; then \
+ mkdir -p $(DESTDIR)$(libdir); \
+ mv $(DESTDIR)$(usrlib_execdir)/libuuid.so.* $(DESTDIR)$(libdir); \
+ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libuuid.so); \
--
1.8.2.3
next prev parent reply other threads:[~2013-11-11 10:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 10:29 [Buildroot] [PATCH 1/2] util-linux: nommu: Add patch to use vfork in nommu arch sonic.adi at gmail.com
2013-11-11 10:29 ` sonic.adi at gmail.com [this message]
2013-11-13 23:12 ` Arnout Vandecappelle
2013-11-13 23:23 ` Thomas Petazzoni
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=1384165765-23210-2-git-send-email-Sonic.adi@gmail.com \
--to=sonic.adi@gmail.com \
--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