diff --git a/bin/mkchrootpkg.in b/bin/mkchrootpkg.in index 71ecc74..f8cf63f 100644 --- a/bin/mkchrootpkg.in +++ b/bin/mkchrootpkg.in @@ -235,7 +235,7 @@ EOF # These functions aren't run in makechrootpkg, # so no global variables _chrootbuild() { - export LC_ALL=C + export LC_ALL=en_US.UTF-8 . /etc/profile # export HOME=/build # cd /startdir diff --git a/lib/util-yaml.sh b/lib/util-yaml.sh index f4a1ca6..0818997 100644 --- a/lib/util-yaml.sh +++ b/lib/util-yaml.sh @@ -356,9 +356,17 @@ write_settings_conf(){ echo '' >> "$conf" echo "branding: ${iso_name}" >> "$conf" echo '' >> "$conf" - echo "prompt-install: false" >> "$conf" + if ${oem_used};then + echo "prompt-install: false" >> "$conf" + else + echo "prompt-install: true" >> "$conf" + fi echo '' >> "$conf" - echo "dont-chroot: false" >> "$conf" + if ${oem_used};then + echo "dont-chroot: true" >> "$conf" + else + echo "dont-chroot: false" >> "$conf" + fi } configure_calamares(){