From: 李国 Date: Tue, 7 Apr 2020 09:12:29 +0000 (+0000) Subject: x86: add genisoimage and xorrisofs as alternatives to mkisofs X-Git-Tag: v21.02.0-rc1~3159 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4a0f426ba5044af2fe45be8cc553f1580484883c;p=openwrt%2Fopenwrt.git 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: 李国 --- 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 \ ))