Skip to content

Commit

Permalink
by the way do #1182 (comment) (issue1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmeix committed Feb 24, 2017
1 parent 8cbf0e6 commit 6854de2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion usr/share/rear/conf/default.conf
Expand Up @@ -1437,8 +1437,10 @@ USING_UEFI_BOOTLOADER=
# With REAR_INITRD_COMPRESSION="lzma"
# an initrd.xz with xz using the lzma compression is created (very best compression but very slow).
# An initrd.xz with lzma compression may not work in this or that case.
# An initrd.xz with lzma compression is known not to work together with DRLM,
# 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
REAR_INITRD_COMPRESSION=""

##
Expand Down
4 changes: 2 additions & 2 deletions usr/share/rear/restore/ZYPPER/default/950_grub2_mkconfig.sh
Expand Up @@ -24,7 +24,7 @@ mount -t sysfs sys $TARGET_FS_ROOT/sys || true
mount -o bind /dev $TARGET_FS_ROOT/dev || true

# Make initrd verbosely in the target system:
#chroot $TARGET_FS_ROOT /sbin/mkinitrd -v
chroot $TARGET_FS_ROOT /sbin/mkinitrd -v

# Run grub2-mkconfig in the target system.
# A login shell in between is needed when shell scripts are called insinde 'chroot'
Expand All @@ -33,7 +33,7 @@ mount -o bind /dev $TARGET_FS_ROOT/dev || true
chroot $TARGET_FS_ROOT /bin/bash --login -c '/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg'

# Install bootloader in the target system:
#chroot $TARGET_FS_ROOT /usr/sbin/grub2-install --force /dev/sda
chroot $TARGET_FS_ROOT /usr/sbin/grub2-install --force /dev/sda

# Restore the ReaR default bash flags and options (see usr/sbin/rear):
apply_bash_flags_and_options_commands "$DEFAULT_BASH_FLAGS_AND_OPTIONS_COMMANDS"
Expand Down

0 comments on commit 6854de2

Please sign in to comment.