Accepting request 287615 from home:michael-chang:boo917427

- shim-install : fix cryptodisk installation (boo#917427)

OBS-URL: https://build.opensuse.org/request/show/287615
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=93
This commit is contained in:
Gary Ching-Pang Lin 2015-02-25 07:41:52 +00:00 committed by Git OBS Bridge
parent 72ba00856f
commit 7744cfd81f
3 changed files with 13 additions and 1 deletions

View File

@ -243,6 +243,13 @@ if ${grub_mkrelpath} --usage | grep -q -e '--relative'; then
grub_mkrelpath="${grub_mkrelpath} -r"
fi
fi
if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then
for uuid in `"${grub_probe}" --target=cryptodisk_uuid --device-map= "${grub_cfg_dirname}"`; do
echo "cryptomount -u $uuid"
done
fi
cat <<EOF
search --fs-uuid --set=root ${cfg_fs_uuid}
set prefix=(\${root})`${grub_mkrelpath} ${grub_cfg_dirname}`

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 17 06:02:34 UTC 2015 - mchang@suse.com
- shim-install : fix cryptodisk installation (boo#917427)
-------------------------------------------------------------------
Tue Nov 11 04:26:00 UTC 2014 - glin@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package shim
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed