From b263d022095b72b231ba2114c51038701c3bd2fc94ce7c91b37698f78e8ddb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 3 Oct 2024 18:01:04 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main systemd-zram-service revision c6cf2f57690f454cb6ab3797c962bfd5 --- systemd-zram-service.changes | 5 +++++ systemd-zram-service.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/systemd-zram-service.changes b/systemd-zram-service.changes index 2d3eeb7..7ce2151 100644 --- a/systemd-zram-service.changes +++ b/systemd-zram-service.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 9 01:39:07 UTC 2024 - Georg Pfuetzenreuter + +- Require zram kernel module (avoid failure on systems with minimal kernel packages) + ------------------------------------------------------------------- Wed Sep 7 00:00:00 CEST 2022 - dsterba@suse.cz diff --git a/systemd-zram-service.spec b/systemd-zram-service.spec index 42e088f..f9d002d 100644 --- a/systemd-zram-service.spec +++ b/systemd-zram-service.spec @@ -1,7 +1,7 @@ # # spec file for package systemd-zram-service # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2012-2018 Malcolm J Lewis # # All modifications and additions to the file contributed by third parties @@ -29,8 +29,8 @@ Source0: zramswap-enabler-0.2.1.tar.bz2 Source1: zramswapon Source2: zramswapoff Source3: zramswap.service +Requires: kmod(zram.ko) Conflicts: compcache -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %systemd_requires @@ -75,7 +75,6 @@ popd %service_del_postun zramswap.service %files -%defattr(-,root,root,-) %doc debian/copyright debian/changelog %{_sbindir}/rczramswap %{_sbindir}/zramswap*