# serverfs build environment
# thomas@linuxmuster.net
# 20230125

# note: copy and link actions are applied in PKGBUILDROOT

SRVFS_SHAREDIR="$PKGBUILDROOT/usr/share/linuxmuster/linbo"

# extra files that have to be copied to server filesystem (source and destination pairs per line)
SRVFS_FILES="
usr/share/linuxmuster/linbo/templates/grub.cfg.pxe srv/linbo/boot/grub/grub.cfg
srv/linbo/examples/win10.global.reg srv/linbo/linuxmuster-win/win10.global.reg
srv/linbo/examples/win11.global.reg srv/linbo/linuxmuster-win/win11.global.reg
"

# directories to be created on server filesystem
SRVFS_DIRS="
/etc/default
/etc/init.d
/etc/logrotate.d
/etc/linuxmuster/linbo
/usr/lib/linuxmuster/setup.d
/usr/sbin
/usr/share/linuxmuster/linbo/templates
/var/cache/linuxmuster/linbo
/var/lib/linuxmuster/linbo
/var/log/linuxmuster/linbo
/srv/linbo/examples
/srv/linbo/boot/grub/themes/linbo
/srv/linbo/boot/grub/hostcfg
/srv/linbo/boot/grub/spool
/srv/linbo/boot/grub/x86_64-efi
/srv/linbo/icons
/srv/linbo/images
/srv/linbo/linbocmd
/srv/linbo/tmp
/srv/linbo/winact
"

# links to be created on server filesystem (source and destination pairs per line)
SRVFS_LINKS="
etc/default/linbo-torrent                       srv/linbo/torrent-client.conf
etc/linuxmuster/linbo/start.conf.default        srv/linbo/start.conf
usr/share/linuxmuster/linbo/linbo-ssh.sh        usr/sbin/linbo-ssh
usr/share/linuxmuster/linbo/linbo-scp.sh        usr/sbin/linbo-scp
usr/share/linuxmuster/linbo/mkgrubhostimg.py    usr/sbin/linbo-mkgrubimg
var/log/linuxmuster/linbo                       srv/linbo/log
"
