package/iputils: use relative symlink for ping6
PATCH 1/1 package/iputils: use relative symlink for ping6
Fixes (part of):
http://autobuild.buildroot.net/results/5659e1c91831921bd9ad6af670258783771b4dc8/
Commit 6b37dda2a972cdf (package/iputils: create ping6 symlink), added a ping6 symlink, but used the absolute (build) path to ping as the target, which is naturally no good at runtime:
ls -l target/bin/ping6
lrwxrwxrwx 1 peko peko 58 Jan 10 08:25 target/bin/ping6 -> /home/peko/source/buildroot/output-iputils/target/bin/ping
Instead use a relative symlink.
--- package/iputils/iputils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/iputils/iputils.mk +1 -1
@@ -88,7 +88,7 @@ IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_BINARIES # upstream requires distros to create symlink define IPUTILS_CREATE_PING6_SYMLINK - ln -sf $(TARGET_DIR)/bin/ping $(TARGET_DIR)/bin/ping6 + ln -sf ping $(TARGET_DIR)/bin/ping6 endef IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_CREATE_PING6_SYMLINK
Signature · 1 line
2.20.1
PATCH 1/1 package/iputils: use relative symlink for ping6
Hi Peter,
Quoted 11 lines
Fixes (part of):
http://autobuild.buildroot.net/results/5659e1c91831921bd9ad6af670258783771b4dc8/Commit
6b37dda2a972cdf(package/iputils: create ping6 symlink), added a ping6 symlink, but used the absolute (build) path to ping as the target, which is naturally no good at runtime:ls -l target/bin/ping6
lrwxrwxrwx 1 peko peko 58 Jan 10 08:25 target/bin/ping6 ->/home/peko/source/buildroot/output-iputils/target/bin/pingInstead use a relative symlink.
Thanks for a fix.
Kind regards,
Petr
PATCH 1/1 package/iputils: use relative symlink for ping6
In reply to Peter KorsgaardQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Korsgaard <[email protected]> writes:
Fixes (part of):
http://autobuild.buildroot.net/results/5659e1c91831921bd9ad6af670258783771b4dc8/Commit
6b37dda2a972cdf(package/iputils: create ping6 symlink), added a ping6 symlink, but used the absolute (build) path to ping as the target, which is naturally no good at runtime:
Quoted 6 lines
ls -l target/bin/ping6
lrwxrwxrwx 1 peko peko 58 Jan 10 08:25 target/bin/ping6 ->/home/peko/source/buildroot/output-iputils/target/bin/pingInstead use a relative symlink.
Signed-off-by Peter Korsgaard <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/iputils: use relative symlink for ping6
In reply to Peter KorsgaardQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Korsgaard <[email protected]> writes:
Fixes (part of):
http://autobuild.buildroot.net/results/5659e1c91831921bd9ad6af670258783771b4dc8/Commit
6b37dda2a972cdf(package/iputils: create ping6 symlink), added a ping6 symlink, but used the absolute (build) path to ping as the target, which is naturally no good at runtime:
Quoted 6 lines
ls -l target/bin/ping6
lrwxrwxrwx 1 peko peko 58 Jan 10 08:25 target/bin/ping6 ->/home/peko/source/buildroot/output-iputils/target/bin/pingInstead use a relative symlink.
Signed-off-by Peter Korsgaard <[email protected]>
Committed to 2019.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard