fix cdrtools, fix locales

This commit is contained in:
Tobias Powalowski 2023-02-24 21:10:03 +01:00
parent 1093dc4abf
commit a33fff7e40
2 changed files with 4 additions and 3 deletions

View file

@ -192,10 +192,10 @@ _set_hostname() {
}
_enable_common_locales() {
exho "Enable common UTF-8 locales..."
echo "Enable common UTF-8 locales..."
_LOCALES="C en_US de_DE es_ES fr_FR pt_PT ru_RU"
for i in "${_LOCALES}"; do
echo "${i}.UTF-8" >> "${1}"/etc/locale.gen
echo "${i}.UTF-8 UTF-8" >> "${1}"/etc/locale.gen
done
${_NSPAWN} "${1}" locale-gen &>/dev/null
}

View file

@ -196,7 +196,8 @@ build ()
${BUILDROOT}/usr/lib/tmpfiles.d/mkinitcpio.conf \
${BUILDROOT}/usr/share/bash-completion/completions/lsinitcpio \
${BUILDROOT}/usr/share/bash-completion/completions/mkinitcpio \
${BUILDROOT}/usr/share/bash-completion/completions/grub
${BUILDROOT}/usr/share/bash-completion/completions/grub \
${BUILDROOT}/usr/lib/modules-load.d/cdrecord.conf
### fix licenses
map add_file /usr/share/licenses/shadow/COPYING /usr/share/licenses/iana-etc/LICENSE \