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.
21 # Set hostname and FQDN.
22 ./set_hostname_and_fqdn.sh "${hostname}" "${fqdn}"
24 # Some debconf selections we don't want to get asked during coming
26 echo 'libc6:amd64 libraries/restart-without-asking boolean true' | debconf-set-selections
28 # Ensure package installation state as defined by what packages are
29 # defined as required by Debian policy and by settings in ./apt-mark/.
31 ./install_for_target.sh all
32 ./purge_nonrequireds.sh all
34 # Ensure our desired locale is available.
37 # Only upgrade after reducing the system to the desired minimum, so that
38 # we don't need to get more data than necessary.
41 # Set Berlin localtime.
42 ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime