When the correct keyboard map is not set yet, it might be difficult for the user
to type in the command. This way they just have to press the arrow up key to reach it.
Fixes#273
The ldconfig service ("Rebuild Dynamic Linker Cache") updates /etc/ld.so.cache when it is
older than some preconfigured age. This increases boot time, especially when airootfs is
on a slower media, like a DVD-ROM drive or NFS. Since System Rescue doesn't change over time,
keeping the original file from release is fine.
This prevents huge dependency downloads by pacman when the SystemRescue version gets older
by using a snapshot repo from the day the SystemRescue version is released.
The classic rolling repos from Arch are also available as option. Activate with the
"--config /etc/pacman-rolling.conf" option to pacman.
To allow switching on a per-command basis, two different sets of remote package databases
are required. But the local package database must be the same for both variants. This
is achived by using two different DBPaths in the pacman config files and bind-mounting
the local part together. pacman does not accept symlinks for this, so it must be a bind mount.
Quiet ("hushed") login disables email check, last login printing and message of the
day. Neither of these are useful for SystemRescue. Arch's default configuration
(/etc/login.defs) only allows per user setting (~/.hushlogin).
* Following upstream archiso
* NetworkManager stays as default in SystemRescueCd
* Explicitly symlink /etc/resolv.conf to /run/NetworkManager/resolv.conf
to make clear NetworkManager is in charge
Closesfdupoux/sysresccd-src#75
xfce4-power-manager sets up logind inhibitor locks (block mode) and
takes over power buttons and lid switch event handling. While
xfce4-power-manager is running, logind.conf's HandleXXX options
do not have effect.
Inside XFCE the power button does not work, because default
xfce4-power-manager action for all the events is do nothing.
Let's keep the power button active, mimicking console behaviour.
* pulseaudio-alsa, in addition to install PulseAudio as a dependency,
configures ALSA to use PulseAudio.
* PulseAudio started by the systemd --user instance.
* Drop-ins allow PulseAudio start as root.
* XFCE panel configuration adjusted accordingly.
* alsa-utils is optional, but still useful for debugging purposes.
* 90-alsa-restore.rules is not useful with PulseAudio, mask it.