aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-08-05 00:33:10 +0200
committerTom Gundersen <teg@jklm.no>2011-08-05 00:33:10 +0200
commit4ef7a256acddfdd0cbb54e9018f0d8fadbc0cae1 (patch)
tree15f88c777f74a20631b62b9d5f144c2a4a7fc6a0 /Makefile
parentb94d35b9a2325d822dede0a72fca561f7a7daf7a (diff)
downloadinitscripts-4ef7a256acddfdd0cbb54e9018f0d8fadbc0cae1.tar.xz
locale: make /etc/profile.d/locale.sh dynamic
locale.sh parses rc.conf at runtime and sets the LOCALE accordingly, rather than writing a static file at every boot. This eliminates yet another write to /etc. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2d68ee3..4916387 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ DIRS := \
/etc/conf.d \
/etc/rc.d/functions.d \
/etc/logrotate.d \
+ /etc/profile.d \
/usr/sbin \
/etc/tmpfiles.d \
/usr/lib/tmpfiles.d \
@@ -22,6 +23,7 @@ install: minilogd installdirs
install -m644 -t $(DESTDIR)/etc/logrotate.d bootlog
install -m644 -t $(DESTDIR)/etc/rc.d functions
install -m755 -t $(DESTDIR)/etc/rc.d hwclock network netfs
+ install -m755 -t $(DESTDIR)/etc/profile.d locale.sh
install -m755 -t $(DESTDIR)/usr/sbin minilogd rc.d
install -m755 -t $(DESTDIR)/usr/lib/initscripts arch-tmpfiles
install -m644 tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d/arch.conf