summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-01-11 11:43:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-14 11:35:55 +0000
commite858593584deccc074bfa30acd85dd48cb58beb0 (patch)
tree619b69b45cd25923a2153abec5249b38b06cf18c /meta/lib/oe
parent4ebe398b1da64f9e6a02a1e617e38cd8bd6b0eda (diff)
downloadpoky-e858593584deccc074bfa30acd85dd48cb58beb0.tar.gz
rpm: produce sane amount of logging when creating a rootfs
Previously there was lots of irrelevant noise in the logs, because we also wanted to be able to debug postinst issues easily. I have adjusted the logging levels so that postinst info is still written to the logs, but other things are not. [YOCTO #13119] (From OE-Core rev: ffb7b8f70937a7d95814c1a99527d5ea7cbf7cee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 392fe7e372..7ff76c61cd 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -966,7 +966,7 @@ class RpmPM(PackageManager):
966 os.environ['RPM_ETCCONFIGDIR'] = self.target_rootfs 966 os.environ['RPM_ETCCONFIGDIR'] = self.target_rootfs
967 967
968 dnf_cmd = bb.utils.which(os.getenv('PATH'), "dnf") 968 dnf_cmd = bb.utils.which(os.getenv('PATH'), "dnf")
969 standard_dnf_args = ["-v", "--rpmverbosity=debug", "-y", 969 standard_dnf_args = ["-v", "--rpmverbosity=info", "-y",
970 "-c", oe.path.join(self.target_rootfs, "etc/dnf/dnf.conf"), 970 "-c", oe.path.join(self.target_rootfs, "etc/dnf/dnf.conf"),
971 "--setopt=reposdir=%s" %(oe.path.join(self.target_rootfs, "etc/yum.repos.d")), 971 "--setopt=reposdir=%s" %(oe.path.join(self.target_rootfs, "etc/yum.repos.d")),
972 "--installroot=%s" % (self.target_rootfs), 972 "--installroot=%s" % (self.target_rootfs),