From 698d8c5109c91b7df7222f7b878135212a5c4edd Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Thu, 6 Jul 2017 11:52:41 -0700 Subject: [PATCH] runtime-cleanup.tmpl: don't delete localedef This is required in the future for anaconda to be able to inspect the supported locales in Atomic Host installations. This is the same patch as https://github.com/rhinstaller/lorax/pull/194 but for the master branch. --- share/templates.d/99-generic/runtime-cleanup.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index 9922fb52..9a287e74 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -199,7 +199,8 @@ removefrom glibc /usr/libexec/* /usr/sbin/* removefrom glibc-common /etc/* /usr/bin/catchsegv /usr/bin/gencat removefrom glibc-common /usr/bin/getent removefrom glibc-common /usr/bin/locale /usr/bin/rpcgen /usr/bin/sprof -removefrom glibc-common /usr/bin/tzselect /usr/bin/localedef +# NB: we keep /usr/bin/localedef so anaconda can inspect payload locale info +removefrom glibc-common /usr/bin/tzselect removefrom glibc-common /usr/libexec/* /usr/sbin/* removefrom gmp /usr/${libdir}/libgmpxx.* /usr/${libdir}/libmp.* removefrom gnome-bluetooth-libs /usr/${libdir}/libgnome-bluetooth*