SHA256
1
0
forked from pool/grub2

Accepting request 576011 from home:michael-chang:branches:Base:System

- Fix incorrect check preventing the script from running (bsc#1078481)
  * 80_suse_btrfs_snapshot

OBS-URL: https://build.opensuse.org/request/show/576011
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=291
This commit is contained in:
Michael Chang 2018-02-13 09:24:12 +00:00 committed by Git OBS Bridge
parent b83d902412
commit 5582e7fbfa
2 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,7 @@ set -e
SNAPSHOTS="/.snapshots"
if [ "x${SUSE_BTRFS_SNAPSHOT_BOOTING}" = "xtrue" ] &&
[ "x${GRUB_FS}" = "xbtrfs" ] &&
[ -f "${SNAPSHOTS}/grub-snapshot.cfg" ]; then
[ -d "${SNAPSHOTS}" ]; then
SNAPSHOT_RID=`btrfs inspect-internal rootid ${SNAPSHOTS}`
ROOT_RID=`btrfs inspect-internal rootid /`
if [ -n "${SNAPSHOT_RID}" -a "${SNAPSHOT_RID}" != "${ROOT_RID}" ]; then

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 13 09:05:45 UTC 2018 - mchang@suse.com
- Fix incorrect check preventing the script from running (bsc#1078481)
* 80_suse_btrfs_snapshot
-------------------------------------------------------------------
Wed Feb 7 09:58:26 UTC 2018 - mchang@suse.com