forked from mirrored-repos/manjaro-tools
[mkiso] another try to create locale within root-image only
This commit is contained in:
parent
53b745f5ee
commit
7f8b64f4af
1 changed files with 1 additions and 4 deletions
|
@ -25,6 +25,7 @@ COMPRESSION="xz"
|
|||
CREATE_DEFAULT=false
|
||||
INSTALL_DIR="manjaro"
|
||||
IMAGE_FOLDER="root-image"
|
||||
LOCALE=""
|
||||
APPNAME=$(basename "${0}")
|
||||
MIRRORS=''
|
||||
|
||||
|
@ -168,10 +169,6 @@ _mkchroot(){
|
|||
"${work_dir}/${IMAGE_FOLDER}" $@ || die "Failed to retrieve one or more packages!"
|
||||
fi
|
||||
|
||||
# if [ -e "${work_dir}/root-image/etc/locale.gen" ]; then
|
||||
# cp ${work_dir}/root-image/etc/locale.gen ${work_dir}/root-image/etc/locale.gen.bak
|
||||
# fi
|
||||
|
||||
# Cleanup
|
||||
find "${work_dir}" -name *.pacnew -name *.pacsave -name *.pacorig -delete
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue