aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
author李国 <uxgood.org@gmail.com>2020-04-07 09:12:29 +0000
committerPetr Štetiar <ynezz@true.cz>2020-04-09 12:51:10 +0200
commit4a0f426ba5044af2fe45be8cc553f1580484883c (patch)
tree1fc50dd593a2138d09a1533d5d43ded659b3f786 /target/linux/x86
parent32f675ca9f7fb1e541aed704eb49467b07b4dce9 (diff)
downloadupstream-4a0f426ba5044af2fe45be8cc553f1580484883c.tar.gz
upstream-4a0f426ba5044af2fe45be8cc553f1580484883c.tar.bz2
upstream-4a0f426ba5044af2fe45be8cc553f1580484883c.zip
x86: add genisoimage and xorrisofs as alternatives to mkisofs
Some system not have mkisofs, but have genisoimage or xorrisofs. They have compatable options for mkisofs, so let them as alternatives to mkisofs. Signed-off-by: 李国 <uxgood.org@gmail.com>
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile
index 045d043e4d..1b8d45f32a 100644
--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -23,6 +23,9 @@ DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs
$(eval $(call BuildTarget))
-$(eval $(call $(if $(CONFIG_ISO_IMAGES),RequireCommand,Ignore),mkisofs, \
- Please install mkisofs. \
+$(eval $(call $(if $(CONFIG_ISO_IMAGES),SetupHostCommand,Ignore),mkisofs, \
+ Please install mkisofs. , \
+ mkisofs -v 2>&1 , \
+ genisoimage -v 2>&1 | grep genisoimage, \
+ xorrisofs -v 2>&1 | grep xorriso \
))