* [Buildroot] [PATCH v2 1/1] netsnmp: Remove ldconfig calls
@ 2014-05-14 4:51 Bernd Kuhls
2014-05-15 21:34 ` Yann E. MORIN
2014-05-16 20:27 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2014-05-14 4:51 UTC (permalink / raw)
To: buildroot
ldconfig breaks links created by gpu-viv-bin-mx6q.
fixes
http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: rework the fix to not need a separate patch file
package/netsnmp/netsnmp.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 63ec97a..665b564 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -67,9 +67,14 @@ ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
NETSNMP_CONF_OPT += --disable-debugging
endif
+define NETSNMP_INSTALL_STAGING_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+ DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
+endef
+
define NETSNMP_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
- DESTDIR=$(TARGET_DIR) install
+ DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
$(TARGET_DIR)/etc/init.d/S59snmpd
for mib in $(NETSNMP_BLOAT_MIBS); do \
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] netsnmp: Remove ldconfig calls
2014-05-14 4:51 [Buildroot] [PATCH v2 1/1] netsnmp: Remove ldconfig calls Bernd Kuhls
@ 2014-05-15 21:34 ` Yann E. MORIN
2014-05-16 20:27 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-05-15 21:34 UTC (permalink / raw)
To: buildroot
Bernd, All,
On 2014-05-14 06:51 +0200, Bernd Kuhls spake thusly:
> ldconfig breaks links created by gpu-viv-bin-mx6q.
>
> fixes
> http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> v2: rework the fix to not need a separate patch file
>
> package/netsnmp/netsnmp.mk | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
> index 63ec97a..665b564 100644
> --- a/package/netsnmp/netsnmp.mk
> +++ b/package/netsnmp/netsnmp.mk
> @@ -67,9 +67,14 @@ ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
> NETSNMP_CONF_OPT += --disable-debugging
> endif
>
> +define NETSNMP_INSTALL_STAGING_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> + DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
> +endef
> +
> define NETSNMP_INSTALL_TARGET_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> - DESTDIR=$(TARGET_DIR) install
> + DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
> $(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
> $(TARGET_DIR)/etc/init.d/S59snmpd
> for mib in $(NETSNMP_BLOAT_MIBS); do \
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] netsnmp: Remove ldconfig calls
2014-05-14 4:51 [Buildroot] [PATCH v2 1/1] netsnmp: Remove ldconfig calls Bernd Kuhls
2014-05-15 21:34 ` Yann E. MORIN
@ 2014-05-16 20:27 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-05-16 20:27 UTC (permalink / raw)
To: buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
> ldconfig breaks links created by gpu-viv-bin-mx6q.
> fixes
> http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: rework the fix to not need a separate patch file
> package/netsnmp/netsnmp.mk | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
> diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
> index 63ec97a..665b564 100644
> --- a/package/netsnmp/netsnmp.mk
> +++ b/package/netsnmp/netsnmp.mk
> @@ -67,9 +67,14 @@ ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
> NETSNMP_CONF_OPT += --disable-debugging
> endif
> +define NETSNMP_INSTALL_STAGING_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> + DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
> +endef
You can simply override NETSNMP_INSTALL_STAGING_OPT instead. Fixed to
use that for both staging and target install and committed, thanks.
> +
> define NETSNMP_INSTALL_TARGET_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> - DESTDIR=$(TARGET_DIR) install
> + DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
> $(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
> $(TARGET_DIR)/etc/init.d/S59snmpd
> for mib in $(NETSNMP_BLOAT_MIBS); do \
> --
> 1.7.10.4
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-16 20:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 4:51 [Buildroot] [PATCH v2 1/1] netsnmp: Remove ldconfig calls Bernd Kuhls
2014-05-15 21:34 ` Yann E. MORIN
2014-05-16 20:27 ` Peter Korsgaard
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.