summaryrefslogtreecommitdiff
path: root/examples/setup.sh
blob: 3fe918fa527680abb88e28f11a0625210f058fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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.