4 # Provide maximum input for set_hostname_and_fqdn.sh.
5 if [ "$#" -ne 2 ]; then
6 echo 'Need exactly two arguments (hostname, FQDN).'
12 config_tree_prefix="${HOME}/config/buster"
13 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
14 cd "${setup_scripts_dir}"
16 # Adapt /etc/ to our needs by hardlinking into ./linkable_etc_files. This
17 # will set basic configurations affecting following steps, such as setup
18 # of APT and the locale selection, so needs to be right at the beginning.
19 ./copy_etc.sh all server
21 # Set hostname and FQDN.
22 ./set_hostname_and_fqdn.sh "${hostname}" "${fqdn}"
24 # Ensure package installation state as defined by what packages are
25 # defined as required by Debian policy and by settings in ./apt-mark/.
27 ./install_for_target.sh all
28 ./purge_nonrequireds.sh all
30 # Ensure our desired locale is available.
33 # Only upgrade after reducing the system to the desired minimum, so that
34 # we don't need to get more data than necessary.
37 # Set Berlin localtime.
38 ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime