summaryrefslogtreecommitdiffstats
path: root/kiwi/adei/config.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-05 11:17:50 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-05 11:17:50 +0200
commit1c3a5b60c8dcaa3b941d539d4323e5cd43585a85 (patch)
treeb11d0233d84c0c31cd215c560125b91ea5d59ae9 /kiwi/adei/config.sh
parentf18d78bb5330bf8916f9785cea22a74dcc1531c9 (diff)
downloadadei-1c3a5b60c8dcaa3b941d539d4323e5cd43585a85.tar.gz
adei-1c3a5b60c8dcaa3b941d539d4323e5cd43585a85.tar.bz2
adei-1c3a5b60c8dcaa3b941d539d4323e5cd43585a85.tar.xz
adei-1c3a5b60c8dcaa3b941d539d4323e5cd43585a85.zip
Include gconv-modules from glibc-locales (otherwise, freetds crashes)
Diffstat (limited to 'kiwi/adei/config.sh')
-rw-r--r--kiwi/adei/config.sh17
1 files changed, 13 insertions, 4 deletions
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