Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] i18n and zoneinfo
Date: Thu, 28 Oct 2010 20:15:26
Message-Id: AANLkTi=O9pXC06RQ0cR=z3RGaAHm2OPAJBQ7Qz6p9hvj@mail.gmail.com
In Reply to: Re: [gentoo-embedded] i18n and zoneinfo by Mike Frysinger
1 On Thu, Oct 28, 2010 at 7:39 PM, Mike Frysinger <vapier@g.o> wrote:
2 > On Thu, Oct 28, 2010 at 12:27 PM, Kfir Lavi wrote:
3 >> i686-unknown-linux-gnu-emerge -C timezone-data
4 >> will remove the zoneinfo dir, but is it safe?
5 >
6 > if you dont ever plan on supporting timezone info other than the one
7 > copied to /etc/localtime, then it's probably safe
8 >
9 >> Is there a way to remove i18n under portage, or I need to delete it by hand?
10 >>
11 >> I would like to have the proper way using make.conf
12 >
13 > use INSTALL_MASK
14 > -mike
15 >
16 >
17
18 Thanks Mike,
19 I solved it like this:
20 For timezone-data:
21 echo "sys-libs/timezone-data" >>
22 /usr/i686-unknown-linux-gnu/etc/portage/package.mask
23 This will prevent this package from installing.
24 /etc/localtime==/usr/share/zoneinfo/Factory
25 I don't know what Factory means, but its ok for now.
26
27 For the i18n:
28 I have added those lines to make.conf:
29 INSTALL_MASK="/usr/share/i18n"
30 PKG_INSTALL_MASK="$INSTALL_MASK"
31
32 Regards,
33 Kfir

Replies

Subject Author
Re: [gentoo-embedded] i18n and zoneinfo Peter Stuge <peter@×××××.se>