From 6a0013a78384c371cdf1b169451bcff6d9db87db Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Mon, 8 Mar 2021 14:21:28 +0100 Subject: [PATCH] Update 400_copy_modules.sh Ensure the nvram kernel module is included because nvram could be a module in particular on POWER architecture cf. https://github.com/rear/rear/pull/2580#issuecomment-791344794 --- usr/share/rear/build/GNU/Linux/400_copy_modules.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usr/share/rear/build/GNU/Linux/400_copy_modules.sh b/usr/share/rear/build/GNU/Linux/400_copy_modules.sh index 641b7f8327..8a6248cd39 100644 --- a/usr/share/rear/build/GNU/Linux/400_copy_modules.sh +++ b/usr/share/rear/build/GNU/Linux/400_copy_modules.sh @@ -116,8 +116,12 @@ for dummy in "once" ; do # As a way out of this dilemma we add the below listed modules no longer via conf/GNU/Linux.conf # but here after the user config files were sourced so that now the user can specify # MODULES=( 'moduleX' 'moduleY' ) in etc/rear/local.conf to get additional kernel modules - # included in the recovery system in addition to the ones via an empty MODULES=() setting: - MODULES+=( vfat + # included in the recovery system in addition to the ones via an empty MODULES=() setting. + # nvram could be a module in particular on POWER architecture, + # cf. https://github.com/rear/rear/issues/2554#issuecomment-764720180 + # and https://github.com/rear/rear/pull/2580#issuecomment-791344794 + MODULES+=( nvram + vfat nls_iso8859_1 nls_utf8 nls_cp437 af_packet unix