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
93903d99
Commit
93903d99
authored
Apr 01, 2014
by
Guillaume ZITTA
Committed by
Stéphane Graber
Apr 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-gentoo, fix lack of any generated locale
fix lack of any generated locale Signed-off-by:
Guillaume ZITTA
<
lxc@zitta.fr
>
Acked-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
1f6cf686
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
lxc-gentoo.in
templates/lxc-gentoo.in
+11
-0
No files found.
templates/lxc-gentoo.in
View file @
93903d99
...
@@ -129,6 +129,7 @@ cache_setup(){
...
@@ -129,6 +129,7 @@ cache_setup(){
cache_net
&&
\
cache_net
&&
\
cache_dev
&&
\
cache_dev
&&
\
cache_openrc
&&
\
cache_openrc
&&
\
cache_locale
&&
\
rm
-rf
"
${
cachefs
}
"
&&
\
rm
-rf
"
${
cachefs
}
"
&&
\
mv
"
${
partialfs
}
"
"
${
cachefs
}
"
&&
\
mv
"
${
partialfs
}
"
"
${
cachefs
}
"
&&
\
printf
"###### cache_setup: Cache should be ready
\n
"
printf
"###### cache_setup: Cache should be ready
\n
"
...
@@ -257,6 +258,16 @@ cache_openrc()
...
@@ -257,6 +258,16 @@ cache_openrc()
return
0
return
0
}
}
cache_locale
()
{
printf
"### cache_locale(): initiating minimale locale en_US.UTF-8
\n
"
echo
"en_US.UTF-8 UTF-8"
>>
"
${
partialfs
}
/etc/locale.gen"
chroot
"
${
partialfs
}
"
locale-gen
return
0
}
################################################################################
################################################################################
# CONTAINER Preparation
# CONTAINER Preparation
################################################################################
################################################################################
...
...
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