raspberrypi-ua-netinst
raspberrypi-ua-netinst copied to clipboard
Issue with the base/minimal presets and configuration options.
It seems to me
preset=server
and
preset=base
packages=cpufrequtils,fake-hwclock,ifupdown,net-tools,ntp,openssh-server,dosfstools,raspberrypi-sys-mods,systemd-sysv,vim-tiny,iputils-ping,wget,ca-certificates,rsyslog,cron,dialog,locales,tzdata,less,man-db,logrotate,bash-completion,console-setup,apt-utils,libraspberrypi-bin,raspi-copies-and-fills
should be equivalent. But when I perform an install with the second I get errors about missing keymaps and tzdata during the install. It seems it tries to do the configuration before installing the specified packages. This means you can't use many of the auto configuration options for anything other than the server preset.
There's two options to fix. The easy one is move locales and tzdata into base. But then you might still be missing other dependencies for other configuration options (wget is used for a couple configuration options) or the more difficult option would be to fix the ordering so the specified packages get installed before any attempted auto configuration.
There is a workaround, but it's just that, since it relies on undocumented behavior. Use syspackages instead of packages in your installer-config.txt, and the packages will be installed at the same time as the packages from the presets.