Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
1f0a134b
Commit
1f0a134b
authored
Jan 30, 2025
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sub.in/rootfs: add image-scripts.d/00-lang-C for set LANG=C.UTF-8
Now C.UTF-8 in glibc, but not in p10.
parent
424373cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
00-lang-C
sub.in/rootfs/image-scripts.d/00-lang-C
+17
-0
No files found.
sub.in/rootfs/image-scripts.d/00-lang-C
0 → 100755
View file @
1f0a134b
#!/bin/sh
# Set fallback unicode locale
# Overrides in use/l10n
[
-d
/usr/lib/locale/C.utf8
]
||
exit
0
systemd_locale
=
/etc/locale.conf
sysv_locale
=
/etc/sysconfig/i18n
which localectl 2>&1
>
/dev/null
&&
echo
LANG
=
C.UTF-8
>
"
$systemd_locale
"
if
[
-f
"
$sysv_locale
"
]
;
then
echo
LANG
=
C.UTF-8
>
"
$sysv_locale
"
echo
SUPPORTED
=
C.UTF-8
>>
"
$sysv_locale
"
fi
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment