On Sat, Jul 4, 2020 at 12:28 PM Samuel Sieb <samuel(a)sieb.net> wrote:
On 7/4/20 1:35 AM, Mauro Carvalho Chehab wrote:
> Em Wed, 1 Jul 2020 09:34:18 +0530
> Sumantro Mukherjee <sumukher(a)redhat.com> escreveu:
>> [0]
https://fedoraproject.org/wiki/Test_Day:F33_SwapOnZRAM
>
> Hmm... it mentions that Fedora 31 would be ok for the tests, but
> the zram-generator package is not available on Fedora 31:
>
>
https://dl.fedoraproject.org/pub/fedora/linux/updates/31/Everything/x86_6...
>
> Assuming that CONFIG_ZRAM is enabled on Fedora 31, you should either
> backport zram-generator packages to Fedora 31 or update the test day
> page accordingly.
It is available on F31, I have it installed. When I checked the
version, I found that it's a module, so you wouldn't see it in that
location. You can just dnf install it and it will work.
# rpm -q zram-generator
zram-generator-0.1.2-1.module_f31+6778+c4fd1ff5.x86_64
My recommendation is to uninstall that one, and install the latest
version in koji, including the new 'zram-generator-defaults' package
if you want it enabled by default. So the main difference: the
permanent/default configuration file is provided by the defaults
package which puts a config in a /usr location, and it can be
overridden by creating a configuration in /etc. To disable it, either
create an empty config in /etc or remove defaults package.
This makes it all more consistent with systemd's conventions, compared
to how it originally was presented.
--
Chris Murphy