SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 2014-04-15 12:20:48 +00:00 committed by Git OBS Bridge
parent c663e4e04d
commit 6e820c59b0
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 15 12:19:24 UTC 2014 - werner@suse.de
- Modify systemd-sleep-grub to let hybrid-sleep.target work even
on XEN, changes from Thomas Blume (bnc#873432)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 14 13:55:36 UTC 2014 - werner@suse.de Mon Apr 14 13:55:36 UTC 2014 - werner@suse.de

View File

@ -50,10 +50,10 @@ getkernels-grub2()
fi fi
;; ;;
linux*noresume*) linux*noresume*|module*xen*noresume*)
echo " Skipping grub entry #${J}, because it has the noresume option" >&2 echo " Skipping grub entry #${J}, because it has the noresume option" >&2
;; ;;
linux*root=*) linux*root=*|module*xen*root=*)
local ROOT local ROOT
ROOT=${LINE#*root=} ROOT=${LINE#*root=}
DUMMY=($ROOT) DUMMY=($ROOT)
@ -77,7 +77,7 @@ getkernels-grub2()
# DEBUG "Found kernel entry #${I}: '${DUMMY[1]##*/}'" INFO # DEBUG "Found kernel entry #${I}: '${DUMMY[1]##*/}'" INFO
let I++ let I++
;; ;;
linux*) linux*|module*xen*)
# a kernel without "root="? We better skip that one... # a kernel without "root="? We better skip that one...
echo " Skipping grub entry #${J}, because it has no root= option" >&2 echo " Skipping grub entry #${J}, because it has no root= option" >&2
;; ;;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 15 12:19:24 UTC 2014 - werner@suse.de
- Modify systemd-sleep-grub to let hybrid-sleep.target work even
on XEN, changes from Thomas Blume (bnc#873432)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 14 13:55:36 UTC 2014 - werner@suse.de Mon Apr 14 13:55:36 UTC 2014 - werner@suse.de