Artix Linux Forum

Artix Linux => Software development => Topic started by: jyf007 on 03 November 2019, 12:31:50

Title: package request:zram-init
Post by: jyf007 on 03 November 2019, 12:31:50
i need zram swap,so i copy zram-init from gentoo to enable it,but how to install from galaxy?
gentoo:
https://gpo.zugaina.org/sys-block/zram-init
source:
https://github.com/vaeth/zram-init/
Title: Re: package request:zram-init
Post by: nous on 06 November 2019, 18:50:02
It's not in any of our repos.
Put conf.d/zram-init (https://github.com/vaeth/zram-init/blob/master/openrc/conf.d/zram-init) in /etc/conf.d/ and init.d/zram-init (https://github.com/vaeth/zram-init/blob/master/openrc/init.d/zram-init) in /etc/init.d (changing the shebang to #/usr/bin/openrc-run). Give the latter execute permission (chmod +x) and add it to boot runlevel (rc-update add zram-init boot).
Title: Re: package request:zram-init
Post by: jyf007 on 07 November 2019, 04:47:56
It's not in any of our repos.
Put conf.d/zram-init (https://github.com/vaeth/zram-init/blob/master/openrc/conf.d/zram-init) in /etc/conf.d/ and init.d/zram-init (https://github.com/vaeth/zram-init/blob/master/openrc/init.d/zram-init) in /etc/init.d (changing the shebang to #/usr/bin/openrc-run). Give the latter execute permission (chmod +x) and add it to boot runlevel (rc-update add zram-init boot).
I had archived from gentoo installed file to tarball,thanks