Skip to content

Commit

Permalink
Explain why 'REAR' in the REAR_INITRD_FILENAME variable name is not s…
Browse files Browse the repository at this point in the history
…uperfluous (issue1142)
  • Loading branch information
jsmeix committed Jan 27, 2017
1 parent 50c7e73 commit 700e76b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usr/share/rear/pack/GNU/Linux/900_create_initramfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

# The REAR_INITRD_FILENAME is needed in various subsequent scripts that install the bootloader
# of the Relax-and-Recover recovery/rescue system during the subsequent 'output' stage.
# REAR_INITRD_FILENAME contains the filename (i.e. basename) of ReaR's own initramfs/initrd
# that contains the files of the Relax-and-Recover recovery/rescue system.
# In contrast a variable that contains the filename of the initramfs/initrd of the system
# where "rear mkbackup" runs would have to be named like SYSTEM_INITRD_FILENAME and/or
# where "rear recover" runs like TARGET_SYSTEM_INITRD_FILENAME (cf. TARGET_FS_ROOT).
pushd "$ROOTFS_DIR" >/dev/null
case "$REAR_INITRD_COMPRESSION" in
(lzma)
Expand Down

0 comments on commit 700e76b

Please sign in to comment.