This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/lsts/default.bash

28 lines
460 B
Bash
Executable File

version=\
(
'1.0'
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
requires=\
(
'python_host/host'
'dnsmasq/default'
)
download()
{
mkdir -p dnsmasq.d &&
python "$cfg_package_spec_dir/download-peers.py" dnsmasq.d
}
target_install()
{
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f - &&
tar -C dnsmasq.d --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs/etc" -x -v -f -
}