Summary: | check-reqs.eclass: please allow to optionally use swap for memory checks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | Eclasses | Assignee: | Gentoo Quality Assurance Team <qa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ian.guerit, jlec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=579658 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch |
Description
Andrew Savchenko
2015-12-28 12:32:52 UTC
Similar issue with bug #579658 where would be useful to skip CHECKREQS_MEMORY Created attachment 576460 [details, diff]
Patch
This patch checks for swap unconditionally.
If usage of swap appears to be needed, then a warning is printed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297e41122a17dea6e7867ed4345255916c379a6c commit 297e41122a17dea6e7867ed4345255916c379a6c Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-05-13 14:30:15 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-08-19 20:27:36 +0000 check-reqs.eclass: check-reqs_memory(): Check for available swap. Print warning if usage of swap appears to be needed. Closes: https://bugs.gentoo.org/569966 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Ulrich Müller <ulm@gentoo.org> eclass/check-reqs.eclass | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) |