mkimage-profiles/features.in/00example/generate.sh
Michael Shigorin 9c883d39b6 docs day
ToC:
- introduced doc/
- features.in/00example/
- READMEs and TODO for more
- code comments clarified

Some unrelated minor fixes bundled either.
2011-11-04 16:15:29 +02:00

21 lines
603 B
Bash

#!/bin/sh
# this script is run during an individual feature configuration
# (that is, while building the actual profile from subprofiles
# and requested features); it can be more comfortable for extensive
# shell scripting than embedding into a makefile recipe with all
# the quoting and so on
#
# please note, it runs *after* copying subdirectories corresponding
# to requested subprofiles and *before* running generate.sh, see also
# features.in/Makefile
#
# for a real-world example, see syslinux feature
# route stdout to stderr
exec >&2
# dump environment
echo "--- $0 ---"
env
echo "--- $0 ---"