From e73cd348c8a2786b5e9874dd1f96cf7bc36412f2 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 4 Apr 2013 18:21:01 +0100 Subject: [PATCH] Don't delete iconv locale data from the appliance. - /usr/lib{,64}/gconv/*: This is the iconv data, required for APIs like iconv_open to work. In particular, the mtools 'mcopy' program fails completely if it cannot use iconv. 'mcopy' is used by SYSLINUX to copy files to the disk. The error you would have seen is: Error converting to codepage 850 Invalid argument Cannot initialize 'S:' Bad target s:/ldlinux.sys - /usr/bin/localedef and /usr/sbin/build-locale-archive: These are not really needed, but both are simply small binaries so we might as well not delete them. --- appliance/make.sh.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/appliance/make.sh.in b/appliance/make.sh.in index 50c60f174..42d6b2366 100755 --- a/appliance/make.sh.in +++ b/appliance/make.sh.in @@ -43,10 +43,6 @@ echo @SUPERMIN@ -v -o supermin.d --names $(< packagelist ) $excludes $extra < supermin.d/hostfiles \ grep -v '^/usr/lib/locale' | grep -v '^/usr/share/locale' | -grep -v '^/usr/lib/gconv' | -grep -v '^/usr/lib64/gconv' | -grep -v '^/usr/bin/localedef' | -grep -v '^/usr/sbin/build-locale-archive' | grep -v '^/usr/share/man/' | grep -v '^/usr/share/doc/' | grep -v '^/usr/share/info/' |