diff options
author | Serhii Popovych <spopovyc@cisco.com> | 2017-03-29 18:02:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-30 10:02:39 +0100 |
commit | 29351514982e2d66704673ae2a08cb04a71adb53 (patch) | |
tree | 35b44ae2cd7ae202fb0fa4db90d6fdb54137439a /meta/recipes-devtools/dnf | |
parent | 2acc741dd02cd796b396484a8676250a8f97c975 (diff) | |
download | poky-29351514982e2d66704673ae2a08cb04a71adb53.tar.gz |
dnf: Use lnr to create relative symlinks
Make use of lnr while creating relative symlinks to enable
builds on host with old ln that does not support -r option.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: dd162286921ccac4981e091de1df4c36d5cfbf5b)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dnf')
-rw-r--r-- | meta/recipes-devtools/dnf/dnf_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_git.bb b/meta/recipes-devtools/dnf/dnf_git.bb index b6b6ceaff1..1194928ac9 100644 --- a/meta/recipes-devtools/dnf/dnf_git.bb +++ b/meta/recipes-devtools/dnf/dnf_git.bb | |||
@@ -31,8 +31,8 @@ RDEPENDS_${PN}_class-target += "python3-core python3-codecs python3-netclient py | |||
31 | # .spec file in dnf source tree does (and then Fedora and dnf documentation | 31 | # .spec file in dnf source tree does (and then Fedora and dnf documentation |
32 | # says that dnf binary is plain 'dnf'). | 32 | # says that dnf binary is plain 'dnf'). |
33 | do_install_append() { | 33 | do_install_append() { |
34 | ln -s -r ${D}/${bindir}/dnf-3 ${D}/${bindir}/dnf | 34 | lnr ${D}/${bindir}/dnf-3 ${D}/${bindir}/dnf |
35 | ln -s -r ${D}/${bindir}/dnf-automatic-3 ${D}/${bindir}/dnf-automatic | 35 | lnr ${D}/${bindir}/dnf-automatic-3 ${D}/${bindir}/dnf-automatic |
36 | } | 36 | } |
37 | 37 | ||
38 | # Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in | 38 | # Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in |