[arch-commits] Commit in initscripts/trunk (PKGBUILD)
Tom Gundersen
tomegun at archlinux.org
Mon Aug 27 20:04:42 UTC 2012
Date: Monday, August 27, 2012 @ 16:04:41
Author: tomegun
Revision: 165632
upgpkg: initscripts 2012.08.3-2
add archlinux(7) and locale.sh from initscripts
locale.sh: add support for user-specific locale.conf
We use the first configuration file we find out of:
* $XDG_CONFIG_HOME/locale.conf
* /etc/locale.conf
* /etc/rc.conf
All subsequent config files are ignored. E.g., an emtpy /etc/locale.conf
means that LOCALE from rc.conf is ignored.
Note that currently $XDG_CONFIG_HOME is unlikely to be set when
locale.sh is sourced, so it will not have any effect. In the future this
might change, so we kept it in.
This will easily allow users to set one locale to be used for
daemons/boot and a separate one to be used for users consoles etc.
This eliminates the need for DAEMON_LOCALE, so remove that
functionality. A post-install note will be added.
The constraints that led to this suggestion:
1) The default locale should work even if locale-gen has not been run,
i.e., it should be "C".
2) It is common to want the system locale to be "English", which a
priori "C" satisfies. However, "C" is not UTF-8, which causes issues
when the user locale is in UTF-8 (as it is the system locale that
configures the console mode).
3) Users might (and often do) want a different locale than what is used
system-wide. Moreover, different users might want different locales.
Modified:
initscripts/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-08-27 19:18:53 UTC (rev 165631)
+++ PKGBUILD 2012-08-27 20:04:41 UTC (rev 165632)
@@ -5,7 +5,7 @@
pkgname=initscripts
pkgver=2012.08.3
-pkgrel=1
+pkgrel=2
pkgdesc="System initialization/bootup scripts"
arch=('any')
url="http://www.archlinux.org"
@@ -27,5 +27,9 @@
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
+
+ # moved to filesystem
+ rm -rf ${pkgdir}/etc/profile.d
+ rm ${pkgdir}/usr/share/man/man7/archlinux.7
}
md5sums=('b5e8de40bf798637cb1634a1555d0f1f')
More information about the arch-commits
mailing list