From 226c4636bdbcfb2317af2d435d9128067d1aa62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Tue, 19 Feb 2019 13:18:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BB=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE=D0=B9=20cl=5Fsplash=5Fimage=5Fha?= =?UTF-8?q?sh=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D1=83?= =?UTF-8?q?=D1=87=D1=91=D1=82=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9=20plymouth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/install/variables/X11.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/install/variables/X11.py b/pym/install/variables/X11.py index b0456b7..63fda8d 100644 --- a/pym/install/variables/X11.py +++ b/pym/install/variables/X11.py @@ -416,7 +416,10 @@ class VariableClSplashImageHash(ReadonlyVariable): Контрольные суммы изображений для splashutils """ hash_files = ("/etc/splash/calculate/images/verbose.md5", - "/etc/splash/calculate/images/silent.md5") + "/etc/splash/calculate/images/silent.md5", + "/usr/share/plymouth/themes/calculate/boot.md5", + "/usr/share/plymouth/themes/calculate/boot/md5sum", + "/usr/share/plymouth/themes/calculate/calculate.plymouth") cfg_files = "/etc/splash/calculate/*.cfg" @@ -426,7 +429,7 @@ class VariableClSplashImageHash(ReadonlyVariable): def get_hash_data(self, sources): data = [] for fn in sources: - data.append(readFile(fn) or "-") + data.append(self.get_config_md5(fn)) for fn in glob.glob(self.cfg_files): data.append(self.get_config_md5(fn)) break