#1367 PR merged: implemented REBUILD_INITRAMFS variable (issue1321)

Labels: enhancement, fixed / solved / done, minor bug

jsmeix opened issue at 2017-05-16 11:40:

This is a minor backward incompatible change:

The new default.conf setting
REBUILD_INITRAMFS="yes"
rebuilds the initramfs/initrd in any case during "rear recover"
in the recreated system to be on the safe side because
ReaR cannot check/verify all possible reasons why the
initramfs/initrd may have to be rebuild,
see https://github.com/rear/rear/issues/1321

With
REBUILD_INITRAMFS=""
the old behaviour where "rear recover" rebuilds the initrd/initramfs
only if some storage drivers changed can be still specified.

With
REBUILD_INITRAMFS="no"
the user can explicitly skip rebuilding the initramfs/initrd.

jsmeix commented at 2017-05-16 11:42:

@gdha
do you think this minor backward incompatible change
should be postponed after the upcoming 2.1 release?

I think the new default.conf setting
REBUILD_INITRAMFS="yes"
should be included in the 2.1 release because it is
intended to make "rear recover" work more fail-safe.

jsmeix commented at 2017-05-17 12:08:

I think the '! is_true' versus 'is_false' is sufficiently explained
so that I can merge it soon...


[Export of Github issue for rear/rear.]