# This file etc/rear/local.conf is intended for the user's # manual configuration of Relax-and-Recover (ReaR). # For configuration through packages and other automated means # we recommend a separated file named site.conf next to this file # and leave local.conf as is (ReaR upstream will never ship a site.conf). # The default OUTPUT=ISO creates the ReaR rescue medium as ISO image. # You need to specify your particular backup and restore method for your data # as the default BACKUP=REQUESTRESTORE does not really do that (see "man rear"). # Configuration variables are documented in /usr/share/rear/conf/default.conf # and the examples in /usr/share/rear/conf/examples/ can be used as templates. # ReaR reads the configuration files via the bash builtin command 'source' # so bash syntax like VARIABLE="value" (no spaces at '=') is mandatory. # Because 'source' executes the content as bash scripts you can run commands # within your configuration files, in particular commands to set different # configuration values depending on certain conditions as you need like # CONDITION_COMMAND && VARIABLE="special_value" || VARIABLE="usual_value" # but that means CONDITION_COMMAND gets always executed when 'rear' is run # so ensure nothing can go wrong if you run commands in configuration files. # Some variables are for secret values (like passwords or encryption keys) # which must be set to a secret value in a confidential way via # { VARIABLE='secret_value' ; } 2>/dev/null # even for a single command to discard STDERR also for 'set -x'. # See /usr/share/rear/conf/default.conf for details and further information. OUTPUT=RAWDISK OUTPUT_URL="file:///var/lib/rear/output" SECURE_BOOT_BOOTLOADER="/boot/efi/EFI/ubuntu/shimx64.efi" OPAL_PBA_USE_SERIAL_CONSOLE='No' PROGS+=( initctl MAKEDEV ) # Exclude paths which will trigger warnings about non-existing symlink targets COPY_AS_IS_EXCLUDE+=( /usr/share/misc/magic ) ##### # TCG Opal 2 PBA system only: Include Plymouth graphical boot animation OPAL_PBA_PROGS+=( plymouth plymouthd ) OPAL_PBA_COPY_AS_IS+=( /etc/alternatives/*plymouth* /usr/lib/x86_64-linux-gnu/plymouth /usr/share/plymouth /usr/share/fonts/truetype/ubuntu ) # NOTE: 'build/GNU/Linux/100_copy_as_is.sh' auto-detects shared libraries referenced by executables from COPY_AS_IS # but fails to consider shared libraries (*.so) from COPY_AS_IS. Adding those to LIBS gets them covered. OPAL_PBA_LIBS+=( /usr/lib/x86_64-linux-gnu/plymouth/*.so /usr/lib/x86_64-linux-gnu/plymouth/renderers/*.so ) vt_handoff="$(grep --extended-regexp --only-matching 'vt.handoff=[0-9]+' /proc/cmdline)" if [[ -n "$vt_handoff" ]]; then # vt.handoff triggers an Ubuntu-specifc mechanism to ensure a smooth boot splash transition # Cf. https://help.ubuntu.com/community/vt.handoff # Only do this on systems where it was originally enabled, otherwise the PBA might boot into a black screen. # (In case of the latter, pressing ESC helps). OPAL_PBA_KERNEL_CMDLINE+=" $vt_handoff" fi