#2580 PR merged: Load the nvram kernel module (if it is a module)

Labels: enhancement, fixed / solved / done

jsmeix opened issue at 2021-03-04 12:02:

In etc/scripts/system-setup.d/41-load-special-modules.sh
load the nvram kernel module if possible to make /dev/nvram appear
because nvram could be a module on POWER architecture, cf.
https://github.com/rear/rear/issues/2554#issuecomment-764720180
and /dev/nvram should be there when installing GRUB,
see https://github.com/rear/rear/issues/2554

jsmeix commented at 2021-03-05 10:57:

I think I will move the MODULES+=( nvram ) that I have currently only in
usr/share/rear/conf/Linux-ppc64.conf and usr/share/rear/conf/Linux-ppc64le.conf
because currently "nvram could be a module on POWER architecture"
to a generic place - likely to MODULES+=( vfat ... in 400_copy_modules.sh
https://github.com/rear/rear/blob/master/usr/share/rear/build/GNU/Linux/400_copy_modules.sh#L120
so that nvram gets included for any archtiecture when it is a module
because perhaps nvram could become a module also on non-POWER architectures.

jsmeix commented at 2021-03-08 13:38:

@rear/contributors
could you have a look here (perhaps you notice an obvious mistake)?
If there are no objections I would like to merge it tomorrow afternoon.


[Export of Github issue for rear/rear.]