multistrap/examples/setup.sh
Neil Williams 680a0c6fca Add option to specify the apt default release directly.
* Add option to specify the apt default release directly and
  change the manpage content to advise on how this further
  complicates the permutations of apt configuration. Add
  commands to direct apt at the apt.conf.d and preferences.d
  directories within the chroot. (Closes: #717886)
2015-04-12 18:04:22 +01: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.