=== modified file 'linaro-android-media-create'
@@ -42,7 +42,7 @@
from linaro_image_tools.media_create import get_android_args_parser
from linaro_image_tools.utils import (
additional_android_option_checks,
- andorid_hwpack_in_boot_tarball,
+ android_hwpack_in_boot_tarball,
ensure_command,
get_logger,
disable_automount,
@@ -141,7 +141,7 @@
board_config = get_board_config(args.dev)
- hwpack_exists, config_file = andorid_hwpack_in_boot_tarball(BOOT_DIR)
+ hwpack_exists, config_file = android_hwpack_in_boot_tarball(BOOT_DIR)
if not args.hwpack and not hwpack_exists:
# No hwpack in the boot tarball nor provided on the command line.
logger.warning("No hwpack found in the boot tarball nor passed on "
=== modified file 'linaro_image_tools/media_create/boards.py'
@@ -862,7 +862,7 @@
if self.initrd:
initrd = _get_file_matching(os.path.join(path, self.initrd))
if not self.initrd or not initrd:
- logger.warn("Could not find a valid initrd, skipping uInitd.")
+ logger.warn("Could not find a valid initrd, skipping uInitrd.")
if self.dtb_file:
dtb = _get_file_matching(os.path.join(path, self.dtb_file))
=== modified file 'linaro_image_tools/tests/test_utils.py'
@@ -39,7 +39,7 @@
UnableToFindPackageProvidingCommand,
additional_android_option_checks,
additional_option_checks,
- andorid_hwpack_in_boot_tarball,
+ android_hwpack_in_boot_tarball,
check_file_integrity_and_log_errors,
ensure_command,
find_command,
@@ -376,7 +376,7 @@
expected = (True, config_file)
with open(config_file, "w"):
self.assertEqual(expected,
- andorid_hwpack_in_boot_tarball(tmpdir))
+ android_hwpack_in_boot_tarball(tmpdir))
finally:
os.unlink(config_file)
os.removedirs(boot_dir)
@@ -389,7 +389,7 @@
os.mkdir(boot_dir)
config_file = os.path.join(boot_dir, "config")
expected = (False, config_file)
- self.assertEqual(expected, andorid_hwpack_in_boot_tarball(tmpdir))
+ self.assertEqual(expected, android_hwpack_in_boot_tarball(tmpdir))
finally:
os.removedirs(boot_dir)
=== modified file 'linaro_image_tools/utils.py'
@@ -363,7 +363,7 @@
"--hwpack argument (%s) is not a regular file" % args.hwpack)
-def andorid_hwpack_in_boot_tarball(boot_dir):
+def android_hwpack_in_boot_tarball(boot_dir):
"""Simple check for existence of a path.
Needed to make cli command testable in some way.