From: tip-bot for Changbin Du <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: changbin.du@intel.com, torvalds@linux-foundation.org,
hpa@zytor.com, linux-kernel@vger.kernel.org,
peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org
Subject: [tip:x86/asm] x86/build: Specify -input-charset=utf-8 for mkisofs
Date: Tue, 7 Nov 2017 03:14:25 -0800 [thread overview]
Message-ID: <tip-c306ba7b909408dbf935bb4a8dc62fae64cb337c@git.kernel.org> (raw)
In-Reply-To: <1509939179-7556-4-git-send-email-changbin.du@intel.com>
Commit-ID: c306ba7b909408dbf935bb4a8dc62fae64cb337c
Gitweb: https://git.kernel.org/tip/c306ba7b909408dbf935bb4a8dc62fae64cb337c
Author: Changbin Du <changbin.du@intel.com>
AuthorDate: Mon, 6 Nov 2017 11:32:58 +0800
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 7 Nov 2017 11:22:20 +0100
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>
---
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
}
next prev parent reply other threads:[~2017-11-07 11:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-06 3:32 [PATCH v2 0/4] x86, kbuild: Some improvement for fdimage/isoimage generation changbin.du
2017-11-06 3:32 ` [PATCH v2 1/4] x86, build: Factor out fdimage/isoimage generation commands to standalone script changbin.du
2017-11-07 10:20 ` Ingo Molnar
2017-11-07 10:35 ` Du, Changbin
2017-11-07 11:12 ` Ingo Molnar
2017-11-07 11:13 ` [tip:x86/asm] x86/build: " tip-bot for Changbin Du
2017-11-06 3:32 ` [PATCH v2 2/4] x86, build: Add new paths for isolinux.bin and ldlinux.c32 changbin.du
2017-11-07 11:14 ` [tip:x86/asm] x86/build: " tip-bot for Changbin Du
2017-11-06 3:32 ` [PATCH v2 3/4] x86, build: Specify -input-charset=utf-8 for mkisofs changbin.du
2017-11-07 11:14 ` tip-bot for Changbin Du [this message]
2017-11-06 3:32 ` [PATCH v2 4/4] x86, boot: Add some generated files to the .gitignore file changbin.du
2017-11-07 11:14 ` [tip:x86/asm] x86/build: Add more " tip-bot for Changbin Du
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-c306ba7b909408dbf935bb4a8dc62fae64cb337c@git.kernel.org \
--to=tipbot@zytor.com \
--cc=changbin.du@intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).