2010-07-20 21:58:43 +00:00
|
|
|
#!/bin/sh
|
2009-03-28 21:55:28 +00:00
|
|
|
|
2010-07-20 21:58:43 +00:00
|
|
|
set -e
|
2009-03-28 21:55:28 +00:00
|
|
|
|
2010-07-20 21:58:43 +00:00
|
|
|
# This setup script is an alternative method of adjusting the tarball
|
|
|
|
# contents immediately after multistrap has unpacked the packages.
|
2009-03-28 21:55:28 +00:00
|
|
|
|
2010-07-20 21:58:43 +00:00
|
|
|
# At this stage, any operations inside the rootfs must not try to
|
|
|
|
# execute any binaries within the rootfs.
|
2009-03-28 21:55:28 +00:00
|
|
|
|
2010-07-20 21:58:43 +00:00
|
|
|
# The script is called with the following arguments:
|
2009-03-28 21:55:28 +00:00
|
|
|
|
2013-07-26 08:51:06 +00:00
|
|
|
# $1 = $DIR - the top directory of the bootstrapped system
|
2010-07-20 21:58:43 +00:00
|
|
|
# $2 = $ARCH - the specified architecture, already checked with dpkg-architecture.
|
2009-03-28 21:55:28 +00:00
|
|
|
|
2010-07-20 21:58:43 +00:00
|
|
|
# setup.sh needs to be executable.
|