From 3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 13 Jan 2020 23:13:19 +0300 Subject: repository: move ubase and sinit to core --- core/sinit/build | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 core/sinit/build (limited to 'core/sinit/build') diff --git a/core/sinit/build b/core/sinit/build new file mode 100755 index 00000000..182d70cf --- /dev/null +++ b/core/sinit/build @@ -0,0 +1,11 @@ +#!/bin/sh -e + +make CFLAGS="$CFLAGS -static" PREFIX=/usr DESTDIR="$1" install +mv "$1/usr/bin/sinit" "$1/usr/bin/init" + +install -Dm755 poweroff "$1/usr/bin/poweroff" +install -Dm755 reboot "$1/usr/bin/reboot" + +install -Dm644 sinit-launch-services.boot "$1/etc/init/sinit-launch-services.boot" +install -Dm644 sinit.post.shutdown "$1/etc/init/sinit.post.shutdown" +install -Dm644 sinit.pre.shutdown "$1/etc/init/sinit.pre.shutdown" -- cgit v1.2.3