[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1509873493-17929-4-git-send-email-changbin.du@intel.com>
Date: Sun, 5 Nov 2017 17:18:12 +0800
From: changbin.du@...el.com
To: hpa@...or.com, tglx@...utronix.de
Cc: mingo@...hat.com, x86@...nel.org, linux-kernel@...r.kernel.org,
yamada.masahiro@...ionext.com, Changbin Du <changbin.du@...el.com>
Subject: [PATCH 3/4] x86, build: Specify -input-charset=utf-8 for mkisofs
From: Changbin Du <changbin.du@...el.com>
This can omit this:
I: -input-charset not specified, using utf-8 (detected in locale settings)
Signed-off-by: Changbin Du <changbin.du@...el.com>
---
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 f7994ad..b411102 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
Powered by blists - more mailing lists