aboutsummaryrefslogtreecommitdiff
path: root/core/minit/build
blob: 38a9de6fb7c961d5bd0ffbcf851f49b87e423a12 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

make
make DESTDIR="$1" PREFIX=/usr install

ln -s minit "$1/usr/bin/init"

install -Dm755 reboot "$1/usr/bin/reboot"
install -Dm755 poweroff "$1/usr/bin/poweroff"
install -Dm644 minit.post.shutdown "$1/etc/init/minit.post.shutdown"