From 851b7f736fd07d079809a1056d72b6d846997b84 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 24 Mar 2020 17:30:14 +0300 Subject: sinit: reflect changes to carbs-init --- core/sinit/build | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'core/sinit/build') 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 -- cgit v1.2.3