Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/earlyoom: fix daemon executable path in the init script
@ 2023-05-29 13:43 Sergey Bobrenok via buildroot
  2023-05-29 13:44 ` [Buildroot] [PATCH 2/3] package/earlyoom: restore missing startup message " Sergey Bobrenok via buildroot
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sergey Bobrenok via buildroot @ 2023-05-29 13:43 UTC (permalink / raw)
  To: buildroot@buildroot.org; +Cc: Joseph Kogut, Sergey Bobrenok, sdfw_system_team

earlyoom.mk file explicitly sets 'PREFIX=/usr', and the init script
fails to start earlyoom because of a nonexistent executable path:

  # /etc/init.d/S02earlyoom start
  start-stop-daemon: unable to stat /bin/earlyoom (No such file or directory)
  FAIL

Signed-off-by: Sergey Bobrenok <SIBobrenok@sberdevices.ru>
---
 package/earlyoom/S02earlyoom | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/earlyoom/S02earlyoom b/package/earlyoom/S02earlyoom
index c02495af90..35624f3c72 100644
--- a/package/earlyoom/S02earlyoom
+++ b/package/earlyoom/S02earlyoom
@@ -9,7 +9,7 @@ EARLYOOM_ARGS=""
 
 start() {
 	printf() 'Starting %s: ' "$DAEMON"
-	start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/bin/$DAEMON" \
+	start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/bin/$DAEMON" \
 	       -- $EARLYOOM_ARGS
 	status=$?
 	if [ "$status" -eq 0 ]; then

base-commit: c765ac9c02dbddd53cf6813cf59c8f265b043caf
-- 
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-14  9:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-29 13:43 [Buildroot] [PATCH 1/3] package/earlyoom: fix daemon executable path in the init script Sergey Bobrenok via buildroot
2023-05-29 13:44 ` [Buildroot] [PATCH 2/3] package/earlyoom: restore missing startup message " Sergey Bobrenok via buildroot
2023-06-02 19:25   ` Peter Korsgaard
2023-06-14  9:23   ` Peter Korsgaard
2023-05-29 13:44 ` [Buildroot] [PATCH 3/3] package/earlyoom: unhardcode package version in CFLAGS Sergey Bobrenok via buildroot
2023-06-02 19:25   ` Peter Korsgaard
2023-06-14  9:23   ` Peter Korsgaard
2023-06-02 19:25 ` [Buildroot] [PATCH 1/3] package/earlyoom: fix daemon executable path in the init script Peter Korsgaard
2023-06-14  9:23 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox