summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/dnf.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-03-16 15:19:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 16:53:04 +0000
commitaa66e8782ed9b869480e4a1aac12923dfee10368 (patch)
tree0cd0175b6b3e6ddef847f42ec69b07baa7eea054 /meta/lib/oeqa/runtime/cases/dnf.py
parentfd04d165684963b066333e1ac442e92584a534b7 (diff)
downloadpoky-aa66e8782ed9b869480e4a1aac12923dfee10368.tar.gz
dnf: add /usr/bin/dnf symlink that points to /usr/bin/dnf-2
All documentation refers to dnf binary as 'dnf' yet make install does not create one - it's done by Fedora's spec file when building the rpm. Let's replicate this behavior. (From OE-Core rev: 456c4a8ffc9a292d7a3e036d92baf4a8f14d1f45) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/dnf.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/dnf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/dnf.py b/meta/lib/oeqa/runtime/cases/dnf.py
index 77e7eb9450..59a263dc63 100644
--- a/meta/lib/oeqa/runtime/cases/dnf.py
+++ b/meta/lib/oeqa/runtime/cases/dnf.py
@@ -12,7 +12,7 @@ from oeqa.runtime.decorator.package import OEHasPackage
12class DnfTest(OERuntimeTestCase): 12class DnfTest(OERuntimeTestCase):
13 13
14 def dnf(self, command, expected = 0): 14 def dnf(self, command, expected = 0):
15 command = 'dnf-2 %s' % command 15 command = 'dnf %s' % command
16 status, output = self.target.run(command, 1500) 16 status, output = self.target.run(command, 1500)
17 message = os.linesep.join([command, output]) 17 message = os.linesep.join([command, output])
18 self.assertEqual(status, expected, message) 18 self.assertEqual(status, expected, message)