aboutsummaryrefslogtreecommitdiff
path: root/rcynic/installation-scripts/manifest.sh
blob: 26872b1aa7a7dcabca100ba4704b5470cee2c2b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh -
# $Id$

echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%
echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/bin
echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/dev
echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/etc
echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/etc/trust-anchors
echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/var
echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/data

echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rcynic
echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rsync
echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rcynic-html

# Not sure what to do about %%RCYNICJAILDIR%%/${libdir}/* on Linux, as we
# don't know what goes there until we compute the transitive closure
# of ldd dependencies.  Ick.  Ignore for now.

case "${host_os}" in
freebsd*)	echo >>${abs_top_builddir}/installation-manifest F %%RCDIR%%/rcynic;;
darwin*)	echo >>${abs_top_builddir}/installation-manifest F /Library/StartupItems/RCynic;;
esac