← Commit list

922fdf652

Michael Tokarev
Michael Tokarev
2014-01-30
SUCCESS Duration: 142s

Subject

init: do not fail build if SIGPWR is not defined

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/init.c+2 -0
@@ -1135,7 +1135,9 @@ int init_main(int argc UNUSED_PARAM, char **argv)
struct sigaction sa;
bb_signals(0
+#ifdef SIGPWR
+ (1 << SIGPWR) /* halt */
+#endif
+ (1 << SIGUSR1) /* halt */
+ (1 << SIGTERM) /* reboot */
+ (1 << SIGUSR2) /* poweroff */