2e40da shared/sleep-config: exclude zram devices from hibernation candidates

1 file Authored by Andrew Jorgensen 4 years ago, Committed by Packit Service 4 years ago,
    shared/sleep-config: exclude zram devices from hibernation candidates
    
    On a host with sufficiently large zram but with no actual swap, logind will
    respond to CanHibernate() with yes. With this patch, it will correctly respond
    no, unless there are other swap devices to consider.
    
    (cherry picked from commit 411ae92b407bd7b4549b205ad754bcd0e3dfd81f)
    
    Resolves: #1763617
    
    patch_name: 0240-shared-sleep-config-exclude-zram-devices-from-hibern.patch
    present_in_specfile: true
    location_in_specfile: 240
    squash_commits: true
    
        
file modified
+13 -3