[Pkg-libvirt-commits] [libguestfs] 36/233: builder: Document how to set Japanese in Debian 7.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 19 21:10:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit d885d6f6a97ee119fe1751df6f7d04844bfbf6be
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Jan 13 16:19:51 2014 +0000

    builder: Document how to set Japanese in Debian 7.
---
 builder/virt-builder.pod | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index f7eb9e9..9ec9440 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -853,6 +853,27 @@ This section contains examples for some common Linux distributions.
    --firstboot-command 'localectl set-keymap jp' \
    --firstboot-command 'systemctl isolate graphical.target'
 
+=head3 Setting Japanese in Debian 7 (Wheezy)
+
+Note that although this enables Japanese in the text console too, it
+is unlikely that you will see properly rendered Japanese there.
+However Japanese is properly rendered in X applications and terminals.
+
+ pkgs=locales,xfce4,\
+ ibus,ibus-anthy,\
+ ttf-sazanami-gothic,ttf-sazanami-mincho,\
+ fonts-takao-mincho,\
+ xfonts-intl-japanese,xfonts-intl-japanese-big,\
+ iceweasel-l10n-ja,manpages-ja
+ 
+ virt-builder debian-7 \
+   --size 20G \
+   --install $pkgs \
+   --edit '/etc/inittab: s,^#([1-9].*respawn.*/sbin/getty.*),$1,' \
+   --edit '/etc/locale.gen: s,^#\s*ja,ja,' \
+   --write '/etc/default/locale:LANG="ja_JP.UTF-8"' \
+   --run-command "locale-gen"
+
 =head2 LOG FILE
 
 Scripts and package installation that runs at build time (I<--run>,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list