-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New REAR_INITRD_COMPRESSION to specify the compression of the recovery system initrd #1182
New REAR_INITRD_COMPRESSION to specify the compression of the recovery system initrd #1182
Conversation
I changed my first implementation |
@gdha |
Hi @jsmeix, REAR_INITRD_FILENAME is not properly initialized in default.conf. Regards, |
@didacog REAR_INITRD_FILENAME is no config variable In my current implementation the default is not changed, see |
@didacog |
@didacog |
@jsmeix Sorry for not reading your later comment: #1182 (comment) :_( I apreciate if, before changes like this, we can start a discussion to prevent possible regressions with the integration with DRLM, just to, in case of something will change at the end, we'll can "syncronize our clocks" and solve the problem without complications. ;) See you next week at fosdem!! ;) Regards, |
@didacog When I change things in ReaR I try to Accordingly I need a better understanding |
@gdha |
…uperfluous (issue1142)
@jsmeix We want to adjust it as soon as possible to support multiple backup methods new feature in ReaR from DRLM also,.... But I'm looking forward to see you at FOSDEM next Saturday, I hope you'll have time to attend to the DRLM workshop talk and be able to know a little bit more about DRLM. ;-) Regards, |
@didacog For others what we are talking about here, see |
@jsmeix I will be there, ready, at 10:45 for sure ;-) |
@jsmeix The problem is solved now on DRLM side (v2.1.1). Works well with LZMA (initrd.xz). ;) Regards, |
@didacog |
@jsmeix you're welcome. These lines in default.conf can be deleted: 1382 # An initrd.xz with lzma compression is known not to work together with DRLM, 1383 # see https://github.com/rear/rear/pull/1182#issuecomment-275423441 Do you need a pull request? Regards, |
I think to be backward compatible # An initrd.xz with lzma compression is known not to work together with DRLM prior to version 2.1.1 # see https://github.com/rear/rear/pull/1182#issuecomment-275423441 # but lzma compression works with DRLM since version 2.1.1 # see https://github.com/rear/rear/pull/1182#issuecomment-282252770 |
I do not need a pull request. |
Great! thanks @jsmeix! ;) |
Now pack/GNU/Linux/900_create_initramfs.sh
first tries to create initrd.xz with the newer xz-lzma compression and
if that fails it falls back to creating initrd.cgz with gzip compression.
Because now two ReaR initrd filenames are used
initrd.xz versus initrd.cgz
the global variable REAR_INITRD_FILENAME is set
and used in various subsequent scripts where before
the filename initrd.cgz was hardcoded.
See #1142