diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index c1e2a5dff1..62385a223d 100644 --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |||
@@ -208,11 +208,14 @@ class IsoImagePlugin(SourcePlugin): | |||
208 | if not os.path.exists("%s/syslinux" % syslinux_dir): | 208 | if not os.path.exists("%s/syslinux" % syslinux_dir): |
209 | msger.info("Building syslinux...\n") | 209 | msger.info("Building syslinux...\n") |
210 | exec_cmd("bitbake syslinux") | 210 | exec_cmd("bitbake syslinux") |
211 | msger.info("Building syslinux-native...\n") | ||
212 | exec_cmd("bitbake syslinux-native") | ||
213 | if not os.path.exists("%s/syslinux" % syslinux_dir): | 211 | if not os.path.exists("%s/syslinux" % syslinux_dir): |
214 | msger.error("Please build syslinux first\n") | 212 | msger.error("Please build syslinux first\n") |
215 | 213 | ||
214 | # Make sure syslinux is available in native sysroot | ||
215 | if not os.path.exists("%s/usr/bin/syslinux" % native_sysroot): | ||
216 | msger.info("Building syslinux-native...\n") | ||
217 | exec_cmd("bitbake syslinux-native") | ||
218 | |||
216 | #Make sure mkisofs is available in native sysroot | 219 | #Make sure mkisofs is available in native sysroot |
217 | if not os.path.isfile("%s/usr/bin/mkisofs" % native_sysroot): | 220 | if not os.path.isfile("%s/usr/bin/mkisofs" % native_sysroot): |
218 | msger.info("Building cdrtools-native...\n") | 221 | msger.info("Building cdrtools-native...\n") |