22 lines
848 B
Plaintext
22 lines
848 B
Plaintext
# Image-time s6 configuration. The native upstream binaries own PID 1.
|
|
pkgname=fds-init
|
|
version=0.1.0
|
|
revision=1
|
|
archs="aarch64"
|
|
depends="iproute2 s6-linux-init s6-rc s6 execline coreutils util-linux bash eudev fds-dasungd fds-cli fds-cartridged"
|
|
short_desc="FDS native s6 boot graph and shutdown configuration"
|
|
maintainer="FDS/OS maintainers"
|
|
license="Public Domain"
|
|
homepage="https://skarnet.org/software/s6-linux-init/"
|
|
do_install() {
|
|
local input="${XBPS_SRCDISTDIR}/${pkgname}-${version}"
|
|
(cd "$input" && sha256sum -c SHA256SUMS) || return 1
|
|
vmkdir etc/s6-rc/source
|
|
cp -a "${input}/s6-source/." "${DESTDIR}/etc/s6-rc/source/"
|
|
vmkdir usr/share/fds/init-skel
|
|
cp -a "${FILESDIR}/skel/." "${DESTDIR}/usr/share/fds/init-skel/"
|
|
for f in runtime-fs console hostname console-session; do
|
|
vinstall "${FILESDIR}/${f}" 755 usr/libexec/fds
|
|
done
|
|
}
|