Blame ecryptfs-utils-75-blkid.patch

Michal Hlavinka 7beee0
=== modified file 'src/utils/ecryptfs-setup-swap'
Michal Hlavinka 7beee0
--- src/utils/ecryptfs-setup-swap	2009-03-20 21:44:01 +0000
Michal Hlavinka 7beee0
+++ src/utils/ecryptfs-setup-swap	2009-05-18 17:02:55 +0000
Michal Hlavinka 7beee0
@@ -83,7 +83,7 @@
Michal Hlavinka 7beee0
 fi
Michal Hlavinka 7beee0
 
Michal Hlavinka 7beee0
 # Make sure this is swap space
Michal Hlavinka 7beee0
-if ! vol_id "$swap" | grep -qs "ID_FS_TYPE=swap"; then
Michal Hlavinka 7beee0
+if ! blkid "$swap" | grep -qs "TYPE=.*swap"; then
Michal Hlavinka 7beee0
 	error "[$swap] does not appear to be swap space"
Michal Hlavinka 7beee0
 fi
Michal Hlavinka 7beee0
 
Michal Hlavinka 7beee0