From 1c3a5b60c8dcaa3b941d539d4323e5cd43585a85 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 5 Oct 2019 11:17:50 +0200 Subject: Include gconv-modules from glibc-locales (otherwise, freetds crashes) --- kiwi/adei/config.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'kiwi/adei/config.sh') diff --git a/kiwi/adei/config.sh b/kiwi/adei/config.sh index 57075fc..2f25c1e 100644 --- a/kiwi/adei/config.sh +++ b/kiwi/adei/config.sh @@ -93,13 +93,22 @@ rm -f /etc/machine-id # DS, this is called before 'delete' configured in 'config.xml'. So, we can't clean if removing from there rpm -e --nodeps dbus-1 dracut fipscheck libfipscheck1 kbd kmod kmod-compat pinentry pkg-config exim \ - udev systemd systemd-sysvinit logrotate device-mapper libcryptsetup4 libdb-4_8 \ + udev systemd systemd-sysvinit logrotate device-mapper libcryptsetup4 \ cracklib cracklib-dict-full libcrack2 pam pam-config shadow util-linux aaa_base netcfg \ - ca-certificates openSUSE-build-key dirmngr perl-base insserv-compat \ - gpg2 openssl libncurses6 file file-magic libmagic1 libsolv-tools suse-module-tools \ - libzypp zypper rpm + ca-certificates openSUSE-build-key dirmngr insserv-compat libncurses6 \ + libzypp zypper rpm libdb-4_8 file file-magic libmagic1 perl-base libsolv-tools suse-module-tools gpg2 openssl find . -name *.rpmsave -delete rm -rf /var/lib/rpm +rm -rf /usr/share/locale +rm -rf /usr/lib/locale +mv /usr/lib64/gconv/{UTF-16,UTF-32,UNICODE,MAC-CENTRALEUROPE}.so /patches/gconv/ +mv /usr/lib64/gconv/ISO8859-{1,2,3,4}.so /patches/gconv/ +rm -rf /usr/lib64/gconv/ +mv /patches/gconv /usr/lib64 + +rm -rf /patches + + exit 0 -- cgit v1.2.3