diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-15 21:07:37 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-15 21:07:37 +0300 |
commit | 155693efb8c44f1b0169c1b348e6be93a24922de (patch) | |
tree | 9ee0c4e1fb04bd75ac33659cd46ca856686a6a75 | |
parent | 8cacb07a4048b2b2d50a9a0fc124d45f38eefd96 (diff) | |
download | repository-155693efb8c44f1b0169c1b348e6be93a24922de.tar.gz |
sinit: portable install calls
-rwxr-xr-x | core/sinit/build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/sinit/build b/core/sinit/build index f543146d..e85d78aa 100755 --- a/core/sinit/build +++ b/core/sinit/build @@ -3,4 +3,5 @@ make CFLAGS="$CFLAGS -static" PREFIX=/usr DESTDIR="$1" install ln -s sinit "$1/usr/bin/init" -install -Dm755 -t "$1/usr/bin" poweroff reboot +install -Dm755 poweroff "$1/usr/bin/poweroff" +install -Dm755 reboot "$1/usr/bin/reboot" |