-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow shutdown and reboot with ssh
- Loading branch information
1 parent
76bcad6
commit 01b622f
Showing
7 changed files
with
72 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Upstream: No | ||
Reason: Musl compatibility | ||
|
||
--- a/lib/util/siglist.in 2019-10-10 11:32:54.000000000 -0500 | ||
+++ b/lib/util/siglist.in 2019-10-14 16:42:46.259938722 -0500 | ||
@@ -17,11 +17,12 @@ | ||
EMT EMT trap | ||
FPE Floating point exception | ||
KILL Killed | ||
+# before UNUSED (musl defines them as the same number) | ||
+ SYS Bad system call | ||
# before BUS (Older Linux doesn't really have a BUS, but defines it to UNUSED) | ||
UNUSED Unused | ||
BUS Bus error | ||
SEGV Memory fault | ||
- SYS Bad system call | ||
PIPE Broken pipe | ||
ALRM Alarm clock | ||
TERM Terminated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Upstream: No | ||
Reason: Enable cross-compile | ||
|
||
--- ./lib/util/Makefile.in.orig | ||
+++ ./lib/util/Makefile.in | ||
@@ -160,10 +160,10 @@ | ||
./mksigname > $@ | ||
|
||
mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h | ||
- $(CC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksiglist.c -o $@ | ||
+ $${HOSTCC:-gcc} $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksiglist.c -o $@ | ||
|
||
mksigname: $(srcdir)/mksigname.c $(srcdir)/mksigname.h $(incdir)/sudo_compat.h $(top_builddir)/config.h | ||
- $(CC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksigname.c -o $@ | ||
+ $${HOSTCC:-gcc} $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksigname.c -o $@ | ||
|
||
$(srcdir)/mksiglist.h: $(srcdir)/siglist.in | ||
@if [ -n "$(DEVEL)" ]; then \ |