Compare commits

...

12 commits

Author SHA1 Message Date
Philip Müller
f9fdcad3a3 [release] 0.15.11 2021-01-28 10:33:14 +01:00
Philip Müller
6c07c3286b Merge branch 'master' into gnome-initial-setup 2021-01-28 10:29:43 +01:00
Philip Müller
0f896a2918 [util-iso-image] proper fix #326
- fix array
2020-11-20 12:08:54 +01:00
Philip Müller
7b6fe03c3a [util-iso-image] proper fix #326 2020-11-20 11:59:27 +01:00
Philip Müller
9e36cc99c2 Revert "fix #326"
This reverts commit 1eb51d062f.
2020-11-20 11:55:29 +01:00
Philip Müller
28db47e276 Merge branch 'master' into gnome-initial-setup 2020-11-18 10:12:20 +01:00
Philip Müller
f3118097b9 [mkchroot] generate locales only when needed 2020-10-29 22:59:42 +01:00
Philip Müller
109bf845a8 [util-yaml] fix skipping user for gnome 2020-10-29 13:29:19 +01:00
Philip Müller
a2cd3f5c3f [util-yaml] skip users for gnome 2020-10-29 12:23:06 +01:00
Philip Müller
c122eef1f7 Revert "Revert "[util-yaml] don't set locale, users and keyboard layouts for Gnome""
This reverts commit 02a8b7c90d.
2020-10-29 12:17:14 +01:00
Philip Müller
8a8bf8487a Revert "Revert "[yaml-utils] also don't set users module for Gnome""
This reverts commit e492a858be.
2020-10-29 12:16:53 +01:00
Philip Müller
a48c76c6a2 Revert "[util-yaml] run localecfg with gnome"
This reverts commit 7f6da6af34.
2020-10-29 12:12:58 +01:00
3 changed files with 14 additions and 11 deletions

View file

@ -1,4 +1,4 @@
Version=0.15.10
Version=0.15.11
PREFIX = /usr/local
SYSCONFDIR = /etc

View file

@ -115,11 +115,12 @@ if ${build_locales}; then
printf '%s.UTF-8 UTF-8\n' en_US > "$working_dir/etc/locale.gen"
printf 'LANG=%s.UTF-8\n' en_US > "$working_dir/etc/locale.conf"
printf 'LC_MESSAGES=C\n' >> "$working_dir/etc/locale.conf"
fi
chroot_args=(${pac_conf:+-C "$pac_conf"} ${makepkg_conf:+-M "$makepkg_conf"} ${mirrors_conf:+-S "$mirrors_conf"} ${build_mirror:+-B "$build_mirror"} ${cache_dir:+-c "$cache_dir"} ${keep_flag})
chroot_args=(${pac_conf:+-C "$pac_conf"} ${makepkg_conf:+-M "$makepkg_conf"} \
${mirrors_conf:+-S "$mirrors_conf"} ${build_mirror:+-B "$build_mirror"} \
${cache_dir:+-c "$cache_dir"} ${keep_flag})
exec chroot-run \
${chroot_args[*]} \
"$working_dir" locale-gen
fi

View file

@ -290,14 +290,14 @@ write_settings_conf(){
echo "sequence:" >> "$conf"
echo " - show:" >> "$conf"
echo " - welcome" >> "$conf" && write_welcome_conf
if ${oem_used}; then
if ${oem_used} || [[ ${profile} == "gnome" ]]; then
msg2 "Skipping to show locale and keyboard modules."
else
echo " - locale" >> "$conf" && write_locale_conf
echo " - keyboard" >> "$conf"
fi
echo " - partition" >> "$conf"
if ${oem_used}; then
if ${oem_used} || [[ ${profile} == "gnome" ]]; then
msg2 "Skipping to show users module."
else
echo " - users" >> "$conf" && write_users_conf
@ -333,7 +333,7 @@ write_settings_conf(){
fi
echo " - machineid" >> "$conf" && write_machineid_conf
echo " - fstab" >> "$conf"
if ${oem_used}; then
if ${oem_used} || [[ ${profile} == "gnome" ]]; then
msg2 "Skipping to set locale, keyboard and localecfg modules."
else
echo " - locale" >> "$conf"
@ -347,6 +347,8 @@ write_settings_conf(){
if ${oem_used}; then
msg2 "Skipping to set users module."
echo " - oemuser" >> "$conf"
elif [[ ${profile} == "gnome" ]]; then
msg2 "Skipping to set users module."
else
echo " - users" >> "$conf"
fi