aboutsummaryrefslogtreecommitdiff
path: root/cem/shinit/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-07 22:31:20 +0300
committerCem Keylan <cem@ckyln.com>2020-05-07 22:31:20 +0300
commit36bca3355980c0b4cbded6867b46cc7e70cd9db0 (patch)
tree5e145554b29a9d52cbb455ea263c77140d6f72b6 /cem/shinit/build
parent535f6e42c155f31b441d560f4e09f4a46567fc00 (diff)
downloadrepository-36bca3355980c0b4cbded6867b46cc7e70cd9db0.tar.gz
shinit: add new package at git to cem
Diffstat (limited to 'cem/shinit/build')
-rwxr-xr-xcem/shinit/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/cem/shinit/build b/cem/shinit/build
new file mode 100755
index 0000000..5baae9d
--- /dev/null
+++ b/cem/shinit/build
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+make DESTDIR="$1" PREFIX=/usr install
+
+install -Dm755 -t "$1/usr/bin" poweroff
+ln -s poweroff "$1/usr/bin/reboot"
+ln -s shinit "$1/usr/bin/init"