Fix another typo in uboot riscv patch

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2019-04-01 11:51:15 +02:00
parent e49ba84cdc
commit f24b708f6e
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
Name: appliance-tools
Summary: Tools for building Appliances
Version: 009.0
Release: 5.2.riscv64%{?dist}
Release: 5.3.riscv64%{?dist}
License: GPLv2
URL: https://pagure.io/appliance-tools

View File

@ -1,5 +1,5 @@
diff --git a/appcreate/appliance.py b/appcreate/appliance.py
index c6706cb..36274c9 100644
index c6706cb..dffde73 100644
--- a/appcreate/appliance.py
+++ b/appcreate/appliance.py
@@ -169,7 +169,7 @@ class ApplianceImageCreator(ImageCreator):
@ -60,7 +60,7 @@ index c6706cb..36274c9 100644
extlinux += "\tappend ro root=%s %s\n" % (rootdev, options)
if 'extlinux-bootloader' in packages:
- extlinux += "\tfdtdir %s/dtb-%s/\n" % (prefix, v)
+ logging.debug("Checking for %s/dtb-%s/" % (self.self._instroot + prefix, v))
+ logging.debug("Checking for %s/dtb-%s/" % (self._instroot + prefix, v))
+ if os.path.exists("%s/dtb-%s/" % (self._instroot + prefix, v)):
+ logging.debug("Found, adding fdtdir entry to extlinux.conf")
+ extlinux += "\tfdtdir %s/dtb-%s/\n" % (prefix, v)