From 10436d8f0102709291c2c94b1f73bd90d9b6b2cc Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 3 May 2024 09:07:51 +0200 Subject: [PATCH] Update default.conf Also mention that on POWER by default no firmware files are included in the initrd. --- usr/share/rear/conf/default.conf | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/usr/share/rear/conf/default.conf b/usr/share/rear/conf/default.conf index 2b78014ff..cc5ede63d 100644 --- a/usr/share/rear/conf/default.conf +++ b/usr/share/rear/conf/default.conf @@ -1787,9 +1787,12 @@ LD_LIBRARY_PATH_FOR_BACKUP_TOOL="" MODULES=( 'all_modules' ) # # Enforce to load these modules in the given order in the rescue/recovery system. -# We also load modules listed in /etc/modules. The order is 1) /etc/modules and -# 2) MODULES_LOAD and 3) modules loaded by udev or systemd. ReaR also takes the list -# of modules from your initrd and adds that to MODULES_LOAD. +# We also load modules listed in /etc/modules. +# The order is +# 1) /etc/modules +# 2) MODULES_LOAD +# 3) modules loaded by udev or systemd. +# ReaR also takes the list of modules from your initrd and adds that to MODULES_LOAD. MODULES_LOAD=() # # Kernel modules to exclude from the rescue/recovery system. @@ -2411,20 +2414,25 @@ COPY_AS_IS_TSM=( /etc/adsm # Additionally you need to add your custom configuration files like Includes and Excludes files. # An alternative method to reduce the size of the TSM client in ReaR recovery system initrd # is to exclude what is not needed from the above specified COPY_AS_IS_TSM via COPY_AS_IS_EXCLUDE_TSM. -# For example language files (except for the EN_US language) are not needed so for example +# Usually language files (except for the EN_US language) are not needed so for example # COPY_AS_IS_EXCLUDE_TSM=( /opt/tivoli/tsm/client/ba/bin/*.jar # /opt/tivoli/tsm/client/ba/bin/*.log* # /opt/tivoli/tsm/client/*/*/[A-Z][!N]_?? ) -# excludes in particular all language files except the EN_US language subdirectory, +# excludes in particular language file subdirectories except the EN_US language subdirectory, # cf. https://github.com/rear/rear/issues/3189#issuecomment-2079811746 COPY_AS_IS_EXCLUDE_TSM=( ) # Generic methods to reduce the size of the ReaR recovery system initrd in particular on POWER architecture: -# Kernel modules that are not required to run the ReaR recovery system on replacement hardware or VM -# are not needed in the ReaR recovery system initrd so on fully compatible replacement hardware -# MODULES=( 'loaded_modules' ) could be used, see the MODULES description above. -# Better (but slower) compression for the ReaR recovery system initrd like -# REAR_INITRD_COMPRESSION="lzma" could be used, see REAR_INITRD_COMPRESSION above, -# cf. https://github.com/rear/rear/issues/3189#issuecomment-2079794186 +# - Kernel modules that are not required to run the ReaR recovery system on replacement hardware or VM +# are not needed in the ReaR recovery system initrd so on fully compatible replacement hardware +# MODULES=( 'loaded_modules' ) could be used, see the MODULES description above. +# - On POWER architecture (e.g. PowerVM LPAR) normally no firmware files are required to run the system +# so we set FIRMWARE_FILES=( 'no' ) in usr/share/rear/conf/Linux-ppc64.conf and .../Linux-ppc64le.conf +# when the default FIRMWARE_FILES=() is used (see FIRMWARE_FILES above) +# so on POWER by default no firmware files are included in the ReaR recovery system initrd +# cf. https://github.com/rear/rear/issues/3189#issuecomment-2076960341 +# - Better (but slower) compression for the ReaR recovery system initrd like +# REAR_INITRD_COMPRESSION="lzma" could be used (see REAR_INITRD_COMPRESSION above), +# cf. https://github.com/rear/rear/issues/3189#issuecomment-2079794186 # PROGS_TSM=(dsmc) #