summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-02-23 22:41:52 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-02-23 22:41:52 +0100
commitca758f9cb4a2722f24a754c69bf42541626367d3 (patch)
treec49f9ef0d276d72ec47f7d4356ea2e4744648852 /share
parentadedcf0423447a5440dcabde6feed7f8569dea5f (diff)
downloadvyos-live-build-ca758f9cb4a2722f24a754c69bf42541626367d3.tar.gz
vyos-live-build-ca758f9cb4a2722f24a754c69bf42541626367d3.zip
Adding hook to create locales files.
Diffstat (limited to 'share')
-rwxr-xr-xshare/hooks/0040-create-locales-files.hook.chroot7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/hooks/0040-create-locales-files.hook.chroot b/share/hooks/0040-create-locales-files.hook.chroot
new file mode 100755
index 000000000..8a5a8677c
--- /dev/null
+++ b/share/hooks/0040-create-locales-files.hook.chroot
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+# Create /etc/environment and /etc/default/locale
+touch /etc/environment
+touch /etc/default/locale