diff --git a/ecryptfs-setup-swap-SuSE.patch b/ecryptfs-setup-swap-SuSE.patch new file mode 100644 index 0000000..b84439e --- /dev/null +++ b/ecryptfs-setup-swap-SuSE.patch @@ -0,0 +1,11 @@ +--- ecryptfs-utils-96/src/utils/ecryptfs-setup-swap 2011-12-13 18:01:38.000000000 -0500 ++++ ecryptfs-utils-96/src/utils/ecryptfs-setup-swap-mod 2012-04-06 11:24:50.083041485 -0400 +@@ -172,7 +172,7 @@ + swapoff -a + + # Restart cryptdisks +- /etc/init.d/cryptdisks restart ++ /etc/init.d/boot.crypto restart + + # Turn the swap on + swapon -a diff --git a/ecryptfs-utils.changes b/ecryptfs-utils.changes index db88d30..e96e4f1 100644 --- a/ecryptfs-utils.changes +++ b/ecryptfs-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 6 15:33:03 UTC 2012 - darin@darins.net + +- patch so ecryptfs-setup-swap executes boot.crypto + ------------------------------------------------------------------- Wed Mar 28 14:47:13 UTC 2012 - meissner@suse.com diff --git a/ecryptfs-utils.spec b/ecryptfs-utils.spec index 12ee735..982a7f6 100644 --- a/ecryptfs-utils.spec +++ b/ecryptfs-utils.spec @@ -25,6 +25,7 @@ Version: 96 Release: 0 Source0: http://launchpad.net/ecryptfs/trunk/%version/+download/ecryptfs-utils_%version.orig.tar.gz Source1: baselibs.conf +Patch0: ecryptfs-setup-swap-SuSE.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gtk2-devel BuildRequires: intltool @@ -46,6 +47,7 @@ A stacked cryptographic filesystem for Linux. %prep %setup -q +%patch0 -p1 %build export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"