* [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6
@ 2019-06-19 21:30 Petr Vorel
2019-06-19 21:30 ` [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches Petr Vorel
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Petr Vorel @ 2019-06-19 21:30 UTC (permalink / raw)
To: buildroot
Bump to s20190515 removed traceroute6 build (it's not built by default
since this version in upstream). Reenable it again.
Fixes: 9ffcd9279e ("package/iputils: bump to version s20190515")
This requires fix similar to one in 0003-meson.build-fix-build-with-NLS.patch [1]
traceroute6 is in /usr/sbin, so no need to handle busybox problem
(6e18892733 "package/iputils: move binaries to the location also used by
Busybox").
[1] http://autobuild.buildroot.org/results/0a8a3efe734ac7fb3a68ba505277681857dc0a3d
Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Changes v1->v2:
* Fix traceroute6 path in IPUTILS_PERMISSIONS, it must be /usr/bin/traceroute6
Kind regards,
Petr
.../0005-traceroute6-fix-build-with-NLS.patch | 30 +++++++++++++++++++
package/iputils/iputils.mk | 3 ++
2 files changed, 33 insertions(+)
create mode 100644 package/iputils/0005-traceroute6-fix-build-with-NLS.patch
diff --git a/package/iputils/0005-traceroute6-fix-build-with-NLS.patch b/package/iputils/0005-traceroute6-fix-build-with-NLS.patch
new file mode 100644
index 0000000000..70315c551b
--- /dev/null
+++ b/package/iputils/0005-traceroute6-fix-build-with-NLS.patch
@@ -0,0 +1,30 @@
+From b18c6c48e4dabaf8bf9b178b3deca631fc79c96e Mon Sep 17 00:00:00 2001
+From: Petr Vorel <pvorel@suse.cz>
+Date: Tue, 11 Jun 2019 21:51:58 +0200
+Subject: [PATCH] traceroute6: fix build with NLS
+
+commit 418d8be ("build-sys: fix build with NLS") fixed problems for
+default packages using libintl. Fix also traceroute6 (build it must be
+enabled with -DBUILD_TRACEROUTE6=true)
+
+Signed-off-by: Petr Vorel <pvorel@suse.cz>
+Upstream status: 81bfb31a714641b70c2a7c7d9ce12cf08f98a372
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 2b545b6..85db8a6 100644
+--- a/meson.build
++++ b/meson.build
+@@ -266,7 +266,7 @@ endif
+
+ if build_traceroute6 == true
+ executable('traceroute6', ['traceroute6.c', git_version_h],
+- dependencies : [cap_dep, idn_dep],
++ dependencies : [cap_dep, intl_dep, idn_dep],
+ link_with : [libcommon],
+ install: true)
+ meson.add_install_script('build-aux/setcap-setuid.sh',
+--
+2.21.0
diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk
index 052110878a..c6f380a84a 100644
--- a/package/iputils/iputils.mk
+++ b/package/iputils/iputils.mk
@@ -49,6 +49,8 @@ IPUTILS_CONF_OPTS += -DUSE_CRYPTO=none
IPUTILS_CONF_OPTS += -DBUILD_NINFOD=false
endif
+IPUTILS_CONF_OPTS += -DBUILD_TRACEROUTE6=true
+
# XSL Stylesheets for DocBook 5 not packaged for buildroot
IPUTILS_CONF_OPTS += -DBUILD_MANS=false -DBUILD_HTML_MANS=false
@@ -69,6 +71,7 @@ define IPUTILS_PERMISSIONS
/usr/sbin/arping f 4755 0 0 - - - - -
/usr/bin/clockdiff f 4755 0 0 - - - - -
/bin/ping f 4755 0 0 - - - - -
+ /usr/bin/traceroute6 f 4755 0 0 - - - - -
endef
$(eval $(meson-package))
--
2.21.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches
2019-06-19 21:30 [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Petr Vorel
@ 2019-06-19 21:30 ` Petr Vorel
2019-06-22 8:06 ` Thomas Petazzoni
2019-06-19 21:30 ` [Buildroot] [PATCH v2 3/3] package/iputils: create ping6 symlink in post install target hook Petr Vorel
2019-06-22 8:06 ` [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Thomas Petazzoni
2 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2019-06-19 21:30 UTC (permalink / raw)
To: buildroot
Patch 0002-meson.build-fix-static-build-with-gcrypt.patch replaced with
0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
...-ninfod_name.c-fix-build-with-nettle.patch | 4 +-
...atic-build-gcrypt-dependency-gpg-err.patch | 51 ++++++++++++++++
...n.build-fix-static-build-with-gcrypt.patch | 58 -------------------
.../0003-meson.build-fix-build-with-NLS.patch | 45 ++++++++------
...uild-sys-Make-setcap-really-optional.patch | 3 +-
5 files changed, 80 insertions(+), 81 deletions(-)
create mode 100644 package/iputils/0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch
delete mode 100644 package/iputils/0002-meson.build-fix-static-build-with-gcrypt.patch
diff --git a/package/iputils/0001-ninfod-ninfod_name.c-fix-build-with-nettle.patch b/package/iputils/0001-ninfod-ninfod_name.c-fix-build-with-nettle.patch
index 796185011a..5d522f53ef 100644
--- a/package/iputils/0001-ninfod-ninfod_name.c-fix-build-with-nettle.patch
+++ b/package/iputils/0001-ninfod-ninfod_name.c-fix-build-with-nettle.patch
@@ -15,7 +15,7 @@ Fixes:
- http://autobuild.buildroot.org/results/e86555090e27b631ba35214ef100aa9331844684
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: https://github.com/iputils/iputils/pull/181]
+Upstream status: commit f209ebb91e65980bcdddce8cc12b00ec11623f76
---
ninfod/ninfod_name.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -34,5 +34,5 @@ index daf606d..525c93d 100644
#elif defined(HAVE_GNUTLS_OPENSSL_H)
# include <gnutls/openssl.h>
--
-2.20.1
+2.21.0
diff --git a/package/iputils/0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch b/package/iputils/0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch
new file mode 100644
index 0000000000..aaf6a0d392
--- /dev/null
+++ b/package/iputils/0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch
@@ -0,0 +1,51 @@
+From eabe21164bbb29dead1a902b6d6e910f6892e3a7 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Fri, 7 Jun 2019 23:17:13 +0200
+Subject: [PATCH] build-sys: fix static build gcrypt dependency gpg-error
+
+The gcrypt depends on gpg-error, so find it's availability and link with it
+when needed to fix static build.
+
+Fixes:
+- http://autobuild.buildroot.net/results/fb698e3e903869978bd5e69d791ec362317b7981
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Upstream status: commit eabe21164bbb29dead1a902b6d6e910f6892e3a7
+---
+ meson.build | 12 +++++++-----
+ 1 file changed, 7 insertions(+), 5 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 84e4360..3766edc 100644
+--- a/meson.build
++++ b/meson.build
+@@ -101,20 +101,22 @@ else
+ endif
+
+ crypto = get_option('USE_CRYPTO')
++crypto_dep = []
+ if crypto == 'nettle'
+- crypto_dep = dependency('nettle')
++ crypto_dep += dependency('nettle')
+ conf.set('USE_NETTLE', 1, description : 'If set use nettle crypto library.')
+ elif crypto == 'gcrypt'
+- crypto_dep = cc.find_library('gcrypt')
++ crypto_dep += cc.find_library('gcrypt')
++ crypto_dep += dependency('gpg-error', required : true)
+ conf.set('USE_GCRYPT', 1, description : 'If set use gcrypt crypto library.')
+ elif crypto == 'openssl'
+- crypto_dep = dependency('openssl')
++ crypto_dep += dependency('openssl')
+ conf.set('USE_OPENSSL', 1, description : 'if set use openssl crypto library.')
+ elif crypto == 'kernel'
+- crypto_dep = dependency('disabler-appears-to-disable-executable-build', required : false)
++ crypto_dep += dependency('disabler-appears-to-disable-executable-build', required : false)
+ conf.set('USE_KERNEL_CRYPTO_API', 1, description : 'if set use Linux kernel Crypto API.')
+ elif crypto == 'none'
+- crypto_dep = dependency('disabler-appears-to-disable-executable-build', required : false)
++ crypto_dep += dependency('disabler-appears-to-disable-executable-build', required : false)
+ conf.set('PING6_NONCE_MEMORY', 1,
+ description : 'If set RFC6744 random does not use any CRYPTO lib.')
+ endif
+--
+2.21.0
diff --git a/package/iputils/0002-meson.build-fix-static-build-with-gcrypt.patch b/package/iputils/0002-meson.build-fix-static-build-with-gcrypt.patch
deleted file mode 100644
index 07bf4387dc..0000000000
--- a/package/iputils/0002-meson.build-fix-static-build-with-gcrypt.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 40123757a799fac0446e33055b33a540bf725589 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Fri, 7 Jun 2019 23:17:13 +0200
-Subject: [PATCH] meson.build: fix static build with gcrypt
-
-gcrypt depends on gpg-error so save the result of
-dependency('gpg-error') in gpg_error_dep and use it when needed to fix
-static build
-
-Fixes:
- - http://autobuild.buildroot.net/results/fb698e3e903869978bd5e69d791ec362317b7981
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: https://github.com/iputils/iputils/pull/185]
----
- meson.build | 5 ++++-
- ninfod/meson.build | 2 +-
- 2 files changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 84e4360..24bda0c 100644
---- a/meson.build
-+++ b/meson.build
-@@ -119,6 +119,9 @@ elif crypto == 'none'
- description : 'If set RFC6744 random does not use any CRYPTO lib.')
- endif
-
-+# gpg-error is a dependency of gcrypt
-+gpg_error_dep = dependency('gpg-error', required : false)
-+
- systemd = dependency('systemd', required : false)
- systemdunitdir = get_option('systemdunitdir')
- if systemdunitdir == '' and systemd.found()
-@@ -241,7 +244,7 @@ libcommon = static_library(
-
- if build_ping == true
- executable('ping', ['ping.c', 'ping_common.c', 'ping6_common.c', git_version_h],
-- dependencies : [m_dep, cap_dep, idn_dep, crypto_dep, resolv_dep],
-+ dependencies : [m_dep, cap_dep, idn_dep, crypto_dep, gpg_error_dep, resolv_dep],
- link_with : [libcommon],
- install: true)
- meson.add_install_script('build-aux/setcap-setuid.sh',
-diff --git a/ninfod/meson.build b/ninfod/meson.build
-index a0ee94d..1e7aa26 100644
---- a/ninfod/meson.build
-+++ b/ninfod/meson.build
-@@ -10,7 +10,7 @@ ninfod_sources = files('''
- ninfod_name.c
- '''.split())
- executable('ninfod', [ninfod_sources, git_version_h],
-- dependencies : [cap_dep, crypto_dep, rt_dep, threads],
-+ dependencies : [cap_dep, crypto_dep, gpg_error_dep, rt_dep, threads],
- link_with : [libcommon],
- include_directories : inc,
- install: true,
---
-2.20.1
-
diff --git a/package/iputils/0003-meson.build-fix-build-with-NLS.patch b/package/iputils/0003-meson.build-fix-build-with-NLS.patch
index f6fd737f43..1c999ba750 100644
--- a/package/iputils/0003-meson.build-fix-build-with-NLS.patch
+++ b/package/iputils/0003-meson.build-fix-build-with-NLS.patch
@@ -1,44 +1,51 @@
-From 8719555a530a8981214f1a35df4b17838dc5f3e8 Mon Sep 17 00:00:00 2001
+From 418d8bea5424d8a14a21fd7928747a233557618c Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Sun, 9 Jun 2019 10:55:35 +0200
-Subject: [PATCH] meson.build: fix build with NLS
+Date: Sun, 9 Jun 2019 18:38:37 +0200
+Subject: [PATCH] build-sys: fix build with NLS
With some toolchains, intl is needed for NLS support so search for this
-library and use if needed
+library and use if needed.
Fixes:
- http://autobuild.buildroot.org/results/0a8a3efe734ac7fb3a68ba505277681857dc0a3d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
--[Upstream status: not sent yet]
+Upstream status: commit 418d8bea5424d8a14a21fd7928747a233557618c
---
meson.build | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/meson.build b/meson.build
-index 24bda0c..53a3995 100644
+index 3766edc..2b545b6 100644
--- a/meson.build
+++ b/meson.build
-@@ -88,6 +88,9 @@ if opt == true
- subdir ('po')
+@@ -77,6 +77,8 @@ if opt != ''
+ conf.set_quoted('DEFAULT_DEVICE', opt, description : 'arping default device.')
endif
+# Some systems needs intl for gettext
-+intl_dep = cc.find_library('intl', required : false)
-+
- opt = get_option('USE_IDN')
++intl_dep = []
+ opt = get_option('USE_GETTEXT')
if opt == true
- idn_dep = cc.find_library('idn2', required : false)
-@@ -244,7 +247,7 @@ libcommon = static_library(
+ prefix = get_option('prefix')
+@@ -86,6 +88,7 @@ if opt == true
+ conf.set('ENABLE_NLS', 1, description : 'If set enable I18N.')
+ conf.set_quoted('LOCALEDIR', join_paths(prefix, localedir))
+ subdir ('po')
++ intl_dep += cc.find_library('intl', required : false)
+ endif
+
+ opt = get_option('USE_IDN')
+@@ -243,7 +246,7 @@ libcommon = static_library(
if build_ping == true
executable('ping', ['ping.c', 'ping_common.c', 'ping6_common.c', git_version_h],
-- dependencies : [m_dep, cap_dep, idn_dep, crypto_dep, gpg_error_dep, resolv_dep],
-+ dependencies : [m_dep, cap_dep, idn_dep, intl_dep, crypto_dep, gpg_error_dep, resolv_dep],
+- dependencies : [m_dep, cap_dep, idn_dep, crypto_dep, resolv_dep],
++ dependencies : [m_dep, cap_dep, idn_dep, intl_dep, crypto_dep, resolv_dep],
link_with : [libcommon],
install: true)
meson.add_install_script('build-aux/setcap-setuid.sh',
-@@ -257,7 +260,7 @@ endif
+@@ -256,7 +259,7 @@ endif
if build_tracepath == true
executable('tracepath', ['tracepath.c', git_version_h],
@@ -47,7 +54,7 @@ index 24bda0c..53a3995 100644
link_with : [libcommon],
install: true)
endif
-@@ -277,7 +280,7 @@ endif
+@@ -276,7 +279,7 @@ endif
if build_clockdiff == true
executable('clockdiff', ['clockdiff.c', git_version_h],
@@ -56,7 +63,7 @@ index 24bda0c..53a3995 100644
link_with : [libcommon],
install: true)
meson.add_install_script('build-aux/setcap-setuid.sh',
-@@ -307,7 +310,7 @@ endif
+@@ -306,7 +309,7 @@ endif
if build_arping == true
executable('arping', ['arping.c', git_version_h],
@@ -66,5 +73,5 @@ index 24bda0c..53a3995 100644
install: true)
meson.add_install_script('build-aux/setcap-setuid.sh',
--
-2.20.1
+2.21.0
diff --git a/package/iputils/0004-build-sys-Make-setcap-really-optional.patch b/package/iputils/0004-build-sys-Make-setcap-really-optional.patch
index 0024f3fa6f..5ebd1db026 100644
--- a/package/iputils/0004-build-sys-Make-setcap-really-optional.patch
+++ b/package/iputils/0004-build-sys-Make-setcap-really-optional.patch
@@ -8,9 +8,8 @@ setcap.path():
meson.build:246:7: ERROR: add_install_script args must be strings
-[Retrieved from:
-https://github.com/iputils/iputils/commit/473be6467f995865244e7e68b2fa587a4ee79551]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Upstream status: commit 473be6467f995865244e7e68b2fa587a4ee79551
---
meson.build | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
--
2.21.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 3/3] package/iputils: create ping6 symlink in post install target hook
2019-06-19 21:30 [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Petr Vorel
2019-06-19 21:30 ` [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches Petr Vorel
@ 2019-06-19 21:30 ` Petr Vorel
2019-06-22 8:08 ` Thomas Petazzoni
2019-06-22 8:06 ` [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Thomas Petazzoni
2 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2019-06-19 21:30 UTC (permalink / raw)
To: buildroot
Upstream expect distros will do it, see
https://github.com/iputils/iputils/commit/ebad35fee3de851b809c7b72ccc654a72b6af61d
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Changes v1->v2:
* Use IPUTILS_POST_INSTALL_TARGET_HOOKS (previously it
IPUTILS_POST_INSTALL_HOOKS was used). IPUTILS_POST_INSTALL_TARGET_HOOKS
works, but not really sure which one is correct/more suitable.
Kind regards,
Petr
package/iputils/iputils.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk
index c6f380a84a..f62b027894 100644
--- a/package/iputils/iputils.mk
+++ b/package/iputils/iputils.mk
@@ -65,6 +65,12 @@ define IPUTILS_MOVE_BINARIES
endef
IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_BINARIES
+# upstream requires distros to create symlink
+define IPUTILS_CREATE_PING6_SYMLINK
+ln -sv $(TARGET_DIR)/bin/ping $(TARGET_DIR)/bin/ping6
+endef
+IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_CREATE_PING6_SYMLINK
+
# handle permissions ourselves
IPUTILS_CONF_OPTS += -DNO_SETCAP_OR_SUID=true
define IPUTILS_PERMISSIONS
--
2.21.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6
2019-06-19 21:30 [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Petr Vorel
2019-06-19 21:30 ` [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches Petr Vorel
2019-06-19 21:30 ` [Buildroot] [PATCH v2 3/3] package/iputils: create ping6 symlink in post install target hook Petr Vorel
@ 2019-06-22 8:06 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2019-06-22 8:06 UTC (permalink / raw)
To: buildroot
On Wed, 19 Jun 2019 23:30:06 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:
> Bump to s20190515 removed traceroute6 build (it's not built by default
> since this version in upstream). Reenable it again.
>
> Fixes: 9ffcd9279e ("package/iputils: bump to version s20190515")
>
> This requires fix similar to one in 0003-meson.build-fix-build-with-NLS.patch [1]
>
> traceroute6 is in /usr/sbin, so no need to handle busybox problem
> (6e18892733 "package/iputils: move binaries to the location also used by
> Busybox").
>
> [1] http://autobuild.buildroot.org/results/0a8a3efe734ac7fb3a68ba505277681857dc0a3d
>
> Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> Changes v1->v2:
> * Fix traceroute6 path in IPUTILS_PERMISSIONS, it must be /usr/bin/traceroute6
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches
2019-06-19 21:30 ` [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches Petr Vorel
@ 2019-06-22 8:06 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2019-06-22 8:06 UTC (permalink / raw)
To: buildroot
On Wed, 19 Jun 2019 23:30:07 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:
> Patch 0002-meson.build-fix-static-build-with-gcrypt.patch replaced with
> 0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch
>
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> ...-ninfod_name.c-fix-build-with-nettle.patch | 4 +-
> ...atic-build-gcrypt-dependency-gpg-err.patch | 51 ++++++++++++++++
> ...n.build-fix-static-build-with-gcrypt.patch | 58 -------------------
> .../0003-meson.build-fix-build-with-NLS.patch | 45 ++++++++------
> ...uild-sys-Make-setcap-really-optional.patch | 3 +-
> 5 files changed, 80 insertions(+), 81 deletions(-)
> create mode 100644 package/iputils/0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch
> delete mode 100644 package/iputils/0002-meson.build-fix-static-build-with-gcrypt.patch
Fixed the commit title prefix to be "package/iputils" not just
"iputils". Also, I prefer when the part after the ":" doesn't start
with an upper-case letter. Applied with those minor nits fixed. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 3/3] package/iputils: create ping6 symlink in post install target hook
2019-06-19 21:30 ` [Buildroot] [PATCH v2 3/3] package/iputils: create ping6 symlink in post install target hook Petr Vorel
@ 2019-06-22 8:08 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2019-06-22 8:08 UTC (permalink / raw)
To: buildroot
On Wed, 19 Jun 2019 23:30:08 +0200
Petr Vorel <petr.vorel@gmail.com> wrote:
> +# upstream requires distros to create symlink
> +define IPUTILS_CREATE_PING6_SYMLINK
> +ln -sv $(TARGET_DIR)/bin/ping $(TARGET_DIR)/bin/ping6
Such commands are normally indented. Also instead of -sv, you should
have used -sf. The verbosity is not needed, but the -f is needed so
that reinstallation of the package works properly.
I've applied after fixing this. Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-06-22 8:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-19 21:30 [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Petr Vorel
2019-06-19 21:30 ` [Buildroot] [PATCH v2 2/3] iputils: Update upstream status on patches Petr Vorel
2019-06-22 8:06 ` Thomas Petazzoni
2019-06-19 21:30 ` [Buildroot] [PATCH v2 3/3] package/iputils: create ping6 symlink in post install target hook Petr Vorel
2019-06-22 8:08 ` Thomas Petazzoni
2019-06-22 8:06 ` [Buildroot] [PATCH v2 1/3] package/iputils: Reenable traceroute6 Thomas Petazzoni
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.