Remove default option from create iso image

THe -cache-inodes is already default on UNIX like operating systems and
it's not safe on other systems that do not have unique inode numbers.

Change-Id: I90b77b3a2056a7e627351d2d9e824def868a7b8b
This commit is contained in:
Riccardo Pittau 2021-11-23 10:31:18 +01:00
parent 6f551d0a33
commit 7ca27601d6
2 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ def create_isolinux_image_for_bios(
try:
utils.execute('mkisofs', '-r', '-V', _label(files_info),
'-cache-inodes', '-J', '-l', '-no-emul-boot',
'-J', '-l', '-no-emul-boot',
'-boot-load-size', '4', '-boot-info-table',
'-b', ISOLINUX_BIN, '-o', output_file, tmpdir)
except processutils.ProcessExecutionError as e:

View File

@ -638,7 +638,7 @@ class FsImageTestCase(base.TestCase):
write_to_file_mock.assert_called_once_with(cfg_file, cfg)
execute_mock.assert_called_once_with(
'mkisofs', '-r', '-V',
"VMEDIA_BOOT_ISO", '-cache-inodes', '-J', '-l',
"VMEDIA_BOOT_ISO", '-J', '-l',
'-no-emul-boot', '-boot-load-size',
'4', '-boot-info-table', '-b', 'isolinux/isolinux.bin',
'-o', 'tgt_file', 'tmpdir')