Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41953 - [zramctl] switch to the maintained version from util-linux (git)

Attached to Project: Community Packages
Opened by Steven Honeyman (stevenhoneyman) - Friday, 12 September 2014, 22:31 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 12 October 2014, 04:15 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This version is a little "rough around the edges" - it has been adopted into util-linux about a month ago (but won't be in the 'stable' release for a while I guess)... zramctl on its own is definitely an improvement over this initial version. Until it hits the core util-linux package, please could you change this zramctl package to use a git snapshot of util-linux, and just pull zramctl out?

Additional info:

http://git.kernel.org/cgit/utils/util-linux/util-linux.git/log/sys-utils/zramctl.c
This task depends upon

Closed by  Felix Yan (felixonmars)
Sunday, 12 October 2014, 04:15 GMT
Reason for closing:  Deferred
Additional comments about closing:  We'll wait for next util-linux release (2.26)
Comment by Steven Honeyman (stevenhoneyman) - Friday, 12 September 2014, 22:51 GMT
This works:

$ CFLAGS="${CFLAGS/-Werror/-Wno-error}" ./configure --disable-nls --disable-shared --disable-all-programs --enable-zramctl --enable-libsmartcols
$ make && make DESTDIR=$PWD/OUT install-strip
$ mv OUT/sbin/zramctl /usr/bin/
$ mv OUT/usr/share/man/man8/zramctl.8 /usr/share/man/man8/

Comment by Felix Yan (felixonmars) - Sunday, 14 September 2014, 15:11 GMT
Usually we don't go for a git snapshot only because the latest one is better. If the new version indeed solves a problem for you, I'll consider the switch :)

Loading...