Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
a6b81a7d
Unverified
Commit
a6b81a7d
authored
Oct 27, 2017
by
Antonio Terceiro
Committed by
Stéphane Graber
Nov 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-debian: don't write C.* locales to /etc/locale.gen
Doing that confuses locale generation. lxc-ubuntu does the same check Signed-off-by:
Antonio Terceiro
<
terceiro@debian.org
>
parent
37d5831e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lxc-debian.in
templates/lxc-debian.in
+1
-1
No files found.
templates/lxc-debian.in
View file @
a6b81a7d
...
@@ -99,7 +99,7 @@ EOF
...
@@ -99,7 +99,7 @@ EOF
# reconfigure some services
# reconfigure some services
# but first reconfigure locales - so we get no noisy perl-warnings
# but first reconfigure locales - so we get no noisy perl-warnings
if
[
-z
"
$LANG
"
]
;
then
if
[
-z
"
$LANG
"
]
||
echo
$LANG
|
grep
-E
-q
"^C(
\.
.+)*$"
;
then
cat
>>
$rootfs
/etc/locale.gen
<<
EOF
cat
>>
$rootfs
/etc/locale.gen
<<
EOF
en_US.UTF-8 UTF-8
en_US.UTF-8 UTF-8
EOF
EOF
...
...
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