diff options
author | Cem Keylan <cem@ckyln.com> | 2020-03-24 17:30:14 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-03-24 17:30:14 +0300 |
commit | 851b7f736fd07d079809a1056d72b6d846997b84 (patch) | |
tree | 426a420167acd71573321f76d097ffb726e0771e /core/sinit/build | |
parent | df7b8d6bd6ba84ed90de49008ffede943c4b8009 (diff) | |
download | repository-851b7f736fd07d079809a1056d72b6d846997b84.tar.gz |
sinit: reflect changes to carbs-init
Diffstat (limited to 'core/sinit/build')
-rwxr-xr-x | core/sinit/build | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/core/sinit/build b/core/sinit/build index e51e3f5c..f543146d 100755 --- a/core/sinit/build +++ b/core/sinit/build @@ -1,13 +1,6 @@ #!/bin/sh -e -( - cd sinit - make CFLAGS="$CFLAGS -static" PREFIX=/usr DESTDIR="$1" install -) +make CFLAGS="$CFLAGS -static" PREFIX=/usr DESTDIR="$1" install ln -s sinit "$1/usr/bin/init" -install -Dm755 poweroff "$1/usr/bin/poweroff" -install -Dm755 reboot "$1/usr/bin/reboot" - -# shellcheck disable=2086 -"${CC:-gcc}" -o "$1/usr/bin/kpow" init/bin/kpow.c $CFLAGS -static +install -Dm755 -t "$1/usr/bin" poweroff reboot |