[mkiso] another try to create locale within root-image only

This commit is contained in:
Philip 2015-01-20 22:36:46 +01:00
parent 53b745f5ee
commit 7f8b64f4af

View file

@ -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
}