Skip to content

Commit c306ba7

Browse files
Changbin DuIngo Molnar
authored andcommitted
x86/build: Specify -input-charset=utf-8 for mkisofs
It avoids the following warning triggered by newer versions of mkisofs: -input-charset not specified, using utf-8 (detected in locale settings) Signed-off-by: Changbin Du <changbin.du@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: yamada.masahiro@socionext.com Link: http://lkml.kernel.org/r/1509939179-7556-4-git-send-email-changbin.du@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 8a7546a commit c306ba7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/x86/boot/genimage.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ genisoimage() {
103103
if [ -f "$FDINITRD" ] ; then
104104
cp "$FDINITRD" $tmp_dir/initrd.img
105105
fi
106-
mkisofs -J -r -o $FIMAGE -b isolinux.bin -c boot.cat \
107-
-no-emul-boot -boot-load-size 4 -boot-info-table $tmp_dir
106+
mkisofs -J -r -input-charset=utf-8 -o $FIMAGE -b isolinux.bin \
107+
-c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \
108+
$tmp_dir
108109
isohybrid $FIMAGE 2>/dev/null || true
109110
rm -rf $tmp_dir
110111
}

0 commit comments

Comments
 (0)