summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-09 13:10:13 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-09 13:10:13 +0200
commit605b3f4e09f87e3bccb432e1e225d856e47bffaa (patch)
tree15209572382c839b43f01c3afe96734a0af237e4
parent4f9ea6bb5715c69c560e8ca599c0dc4f2977bf85 (diff)
downloadxdg-app-605b3f4e09f87e3bccb432e1e225d856e47bffaa.tar.gz
tests: Add an en_US locale to the test runtime
-rwxr-xr-xtests/make-test-runtime.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/make-test-runtime.sh b/tests/make-test-runtime.sh
index 15896f6..d2aeb3b 100755
--- a/tests/make-test-runtime.sh
+++ b/tests/make-test-runtime.sh
@@ -26,5 +26,11 @@ for i in `sort -u $T`; do
cp "$i" ${DIR}/usr/lib/
done
+# We copy the C.UTF8 locale and call it en_US. Its a bit of a lie, but
+# the real en_US locale is often not available, because its in the
+# local archive.
+mkdir -p ${DIR}/usr/lib/locale/
+cp -r /usr/lib/locale/C.* ${DIR}/usr/lib/locale/en_US
+
flatpak build-export --runtime repo ${DIR}
rm -rf ${DIR}