mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-10 17:09:07 -04:00
tests: Dont add locales to test runtime on musl
musl libc doesn't provides locales under /usr/share/locales. The tests still run fine without copying locale under musl.
This commit is contained in:
committed by
Sebastian Wick
parent
0a3c2452c0
commit
bd468a8959
@@ -93,8 +93,10 @@ chmod a+x ${DIR}/usr/bin/runtime_hello.sh
|
||||
# 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
|
||||
if [ -d /usr/lib/locale ]; then
|
||||
mkdir -p ${DIR}/usr/lib/locale/
|
||||
cp -r /usr/lib/locale/C.* ${DIR}/usr/lib/locale/en_US
|
||||
fi
|
||||
|
||||
if [ x$COLLECTION_ID != x ]; then
|
||||
collection_args=--collection-id=${COLLECTION_ID}
|
||||
|
||||
Reference in New Issue
Block a user