It's annoying when you are running grml-live from the git repository,
as the installed grml-live-addons package doesn't matter then,
because the templates are pointing to the git repository.
This can be handled via a symlink, support its usage and mention
it in the docs.
# export SCRIPTS_DIRECTORY=$(pwd)/scripts
# export LIVE_CONF=$(pwd)/etc/grml/grml-live.conf
# export TEMPLATE_DIRECTORY=$(pwd)/templates
+ # ln -s ../../../grml-live-grml/templates/boot/addons templates/boot/ # optional
# ./grml-live -s sid -a amd64 -c GRMLBASE,GRML_FULL,AMD64
log "Skipping installation of boot addons as requested via \$NO_ADDONS."
einfo "Skipping installation of boot addons as requested via \$NO_ADDONS."; eend 0
else
- if ! [ -d "$TEMPLATE_DIRECTORY"/boot/addons ] ; then
+ if ! [ -r "$TEMPLATE_DIRECTORY"/boot/addons ] ; then
log "Boot addons not found, skipping therefore. (Consider installing package grml-live-addons)"
ewarn "Boot addons not found, skipping therefore. (Consider installing package grml-live-addons)" ; eend 0
else