mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
This directory if present in the rootfs interferes with proper installation of base-files and doesn't seem to need to be there for smart/rpm to work in any case. (From OE-Core rev: 54d227e97ff3498fc2149f96f1ca40452ad21a32) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
955 B
Diff
31 lines
955 B
Diff
backends/rpm: remove creation of /var/tmp
|
|
|
|
This doesn't appear to be needed, and breaks installation of base-files
|
|
in OpenEmbedded (since that is a symlink installed as part of the
|
|
package).
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
|
|
diff --git a/smart/backends/rpm/base.py b/smart/backends/rpm/base.py
|
|
index 234c844..127354d 100644
|
|
--- a/smart/backends/rpm/base.py
|
|
+++ b/smart/backends/rpm/base.py
|
|
@@ -82,12 +82,6 @@ def getTS(new=False):
|
|
else:
|
|
iface.warning(_("Initialized new rpm database at %s")
|
|
% getTS.root)
|
|
- tmpdir = os.path.join(getTS.root, "var/tmp")
|
|
- if not os.path.isdir(tmpdir):
|
|
- try:
|
|
- os.makedirs(tmpdir)
|
|
- except OSError:
|
|
- pass
|
|
if new:
|
|
if sysconf.get("rpm-dbpath"):
|
|
rpm.addMacro('_dbpath', "/" + sysconf.get("rpm-dbpath"))
|
|
--
|
|
1.7.9.5
|
|
|