Bug in a resume module script
"Carlos Pinto" <[email protected]> Thu, 02 Jul 2020 12:00:20 +0000
| Newsgroups | org.kernel.vger.initramfs |
|---|---|
| Message-ID | <[email protected]> |
Hey everyone,
I'm using Void Linux and if I have the resume module activated, I get a message early on boot saying:
//lib/dracut/hooks/pre-mount/10-resume.sh: line 20: echo: write error: Invalid argument
I managed to fix this with a small adjustment to /usr/lib/dracut/modules.d/95resume/resume.sh:
20c20
< echo "${maj%,}:$min"> /sys/power/resume)
---
> echo $maj:$min | tr -d , > /sys/power/resume)
Never had to submit a bug to such a big project, so I'm not sure if this is the place to do it.