kiss-mfavila-small/community-mod/stable/s6-linux-init/build

15 lines
339 B
Plaintext
Raw Normal View History

#!/bin/sh -e
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--skeldir=/etc/s6-linux-init/skel
make
make DESTDIR="$1" install
# Create symbolic links so they can be used by kiss alternatives.
for file in halt poweroff reboot init shutdown telinit; do
ln -s "/etc/s6-linux-init/current/bin/$file" "$1/usr/bin"
done