From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbdKFDkk (ORCPT ); Sun, 5 Nov 2017 22:40:40 -0500 Received: from mga01.intel.com ([192.55.52.88]:19017 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751801AbdKFDkV (ORCPT ); Sun, 5 Nov 2017 22:40:21 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,350,1505804400"; d="scan'208";a="171862380" From: changbin.du@intel.com To: hpa@zytor.com, tglx@linutronix.de Cc: mingo@redhat.com, x86@kernel.org, linux-kernel@vger.kernel.org, yamada.masahiro@socionext.com, Changbin Du Subject: [PATCH v2 3/4] x86, build: Specify -input-charset=utf-8 for mkisofs Date: Mon, 6 Nov 2017 11:32:58 +0800 Message-Id: <1509939179-7556-4-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509939179-7556-1-git-send-email-changbin.du@intel.com> References: <1509939179-7556-1-git-send-email-changbin.du@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Changbin Du It avoids the following warning triggered by newer versions of mkisofs:: I: -input-charset not specified, using utf-8 (detected in locale settings) Signed-off-by: Changbin Du --- arch/x86/boot/genimage.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/genimage.sh b/arch/x86/boot/genimage.sh index 6c8100b..628e936 100644 --- a/arch/x86/boot/genimage.sh +++ b/arch/x86/boot/genimage.sh @@ -103,8 +103,9 @@ genisoimage() { if [ -f "$FDINITRD" ] ; then cp "$FDINITRD" $tmp_dir/initrd.img fi - mkisofs -J -r -o $FIMAGE -b isolinux.bin -c boot.cat \ - -no-emul-boot -boot-load-size 4 -boot-info-table $tmp_dir + mkisofs -J -r -input-charset=utf-8 -o $FIMAGE -b isolinux.bin \ + -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ + $tmp_dir isohybrid $FIMAGE 2>/dev/null || true rm -rf $tmp_dir } -- 2.7.4