diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 721c524970..3c2dbc9d1c 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
@@ -127,9 +127,9 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
127 | 'prepares' the partition to be incorporated into the image. | 127 | 'prepares' the partition to be incorporated into the image. |
128 | In this case, prepare content for legacy bios boot partition. | 128 | In this case, prepare content for legacy bios boot partition. |
129 | """ | 129 | """ |
130 | def _has_syslinux(dir): | 130 | def _has_syslinux(dirname): |
131 | if dir: | 131 | if dirname: |
132 | syslinux = "%s/syslinux" % dir | 132 | syslinux = "%s/syslinux" % dirname |
133 | if os.path.exists(syslinux): | 133 | if os.path.exists(syslinux): |
134 | return True | 134 | return True |
135 | return False | 135 | return False |