kiss-stj

My KISS Linux repo for software I use on my computers.
git clone https://git.stjo.hn/kiss-stj
Log | Files | Refs | README | LICENSE

commit 6226f2e0d699ed7aad8a4812a05e76051d774faf
parent d14ebd9dd0fba640031f6389d2e44a169d820c34
Author: St John Karp <contact@stjo.hn>
Date:   Mon,  6 Jun 2022 04:35:55 -0400

tlp: Remove incompatible flock flag

One of TLP's scripts calls `flock -w` but Busybox's flock
implementation doesn't support the -w flag. This shows up as a
harmless but ugly error message on boot.

Diffstat:
Mextra/tlp/build | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/extra/tlp/build b/extra/tlp/build @@ -1,4 +1,8 @@ #!/usr/bin/env sh +# Busybox flock doesn't support -w. +sed 's/FLOCK -x -w $LOCKTIMEOUT/FLOCK -x/' tlp-func-base.in > _ +mv -f _ tlp-func-base.in + make install make install-man