diff options
author | Cem Keylan <cem@ckyln.com> | 2020-02-07 17:21:02 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-02-07 17:21:02 +0300 |
commit | c416432b8cc934b768a19242b976c159f07a22a5 (patch) | |
tree | 0fb5415f896ea29506150dce09dad3bc68235d97 /core/minit/build | |
parent | a61736ef89865187acf62c349c387cc9d1354af7 (diff) | |
download | repository-c416432b8cc934b768a19242b976c159f07a22a5.tar.gz |
minit: add new package at 0.1.0 to core
Diffstat (limited to 'core/minit/build')
-rwxr-xr-x | core/minit/build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/minit/build b/core/minit/build new file mode 100755 index 00000000..608e17c4 --- /dev/null +++ b/core/minit/build @@ -0,0 +1,10 @@ +#!/bin/sh -e + +make +make DESTDIR="$1" PREFIX=/usr install + +ln -s minit "$1/usr/bin/init" + +install -Dm755 -t "$1/usr/bin" reboot poweroff +install -Dm644 launch-services.boot "$1/etc/init/launch-services.boot" +install -Dm644 minit.post.shutdown "$1/etc/init/minit.post.shutdown" |