aboutsummaryrefslogtreecommitdiff
path: root/core/minit/build
blob: c1304ed9a958285bcc4e1f2fdd4cc84e9a101e34 (plain)
1
2
3
4
5
6
7
8
9
#!/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 minit.post.shutdown "$1/etc/init/minit.post.shutdown"