Marcus Meissner
fcbf2cb71b
- packaging 20_memtest86+ and 20_ppc_terminfo in corresponing grubarch package - Add '80_suse_btrfs_snapshot' required to show btrfs snapshots inside of the boot menu. OBS-URL: https://build.opensuse.org/request/show/253157 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=121
11 lines
224 B
Bash
11 lines
224 B
Bash
#! /bin/sh
|
|
set -e
|
|
if [ "x${SUSE_BTRFS_SNAPSHOT_BOOTING}" = "xtrue" ] &&
|
|
[ "x${GRUB_FS}" = "xbtrfs" ] ; then
|
|
cat <<EOF
|
|
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
|
|
source "/.snapshots/grub-snapshot.cfg"
|
|
fi
|
|
EOF
|
|
fi
|