Accepting request 576013 from Base:System

OBS-URL: https://build.opensuse.org/request/show/576013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=177
This commit is contained in:
Dominique Leuenberger 2018-02-13 09:44:46 +00:00 committed by Git OBS Bridge
parent a710e55a51
commit 446f77bbb6
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