multistrap/examples/setup.sh
codehelp a94e562e88 freshen up some of the examples
git-svn-id: http://emdebian.org/svn/current@8459 563faec7-e20c-0410-992a-a66f704d0ccd
2013-07-26 08:51:06 +00:00

16 lines
499 B
Bash
Executable file

#!/bin/sh
set -e
# This setup script is an alternative method of adjusting the tarball
# contents immediately after multistrap has unpacked the packages.
# At this stage, any operations inside the rootfs must not try to
# execute any binaries within the rootfs.
# The script is called with the following arguments:
# $1 = $DIR - the top directory of the bootstrapped system
# $2 = $ARCH - the specified architecture, already checked with dpkg-architecture.
# setup.sh needs to be executable.