mkimage-profiles/features.in/00example/main/scripts.d/89-example
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

14 lines
395 B
Bash
Executable File

#!/bin/sh
# example script executed by mkimage in _instrumental_ chroot
# (image-scripts.d/* get executed in _work_ chroot)
#
# NB: to be executed, it must be marked executable first :)
# let's do something very useful
echo "$0: WORKDIR=$WORKDIR; directory listig:"
ls -l "$WORKDIR"
# and let's _not_ terminate with non-zero for no real reason;
# ":" is a shell builtin command like true(1)
: