From 4a0f426ba5044af2fe45be8cc553f1580484883c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=9B=BD?= Date: Tue, 7 Apr 2020 09:12:29 +0000 Subject: [PATCH] x86: add genisoimage and xorrisofs as alternatives to mkisofs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 李国 --- target/linux/x86/Makefile | 7 +++++-- 1 file 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 \ ))