Package Details: mkinitcpio-openswap 0.1.0-2

Git Clone URL: (read-only)
Package Base: mkinitcpio-openswap
Description: mkinitcpio hook to open swap at boot time
Upstream URL:
Licenses: unknown
Submitter: ahphaw5S
Maintainer: ahphaw5S
Last Packager: ahphaw5S
Votes: 9
Popularity: 0.060900
First Submitted: 2015-06-01 14:05
Last Updated: 2017-10-16 12:34

Latest Comments

ahphaw5S commented on 2017-10-16 12:43

thanks! Forgot to commit that one.

spsf64 commented on 2017-10-16 12:01

@ahphaw5s you did not update .SRCINFO, still at 0.1.0-1 (not -2)

ahphaw5S commented on 2017-10-14 14:24

@dreieck, thanks! I have added the $cryptsetup_options to the part you have mentioned. Let me know if you have any further problems.

dreieck commented on 2017-10-14 13:37

There is an error: This hook cannot open a password protected (i.e. no keyfile) LUKS swap device.

In /usr/lib/initcpio/hooks/openswap, there is $miscellaneous resp. $cryptsetup_options missing after "cryptsetup open" in the if-part where no keyfile is present.

Please add!

ahphaw5S commented on 2017-03-16 09:14

@diogobaeder, as far as I understand sd-encrypt is a hook to open the root partition. The openswap simply runs cryptsetup command with some options to open swap _after_ the root partition is mounted.

So I think that these things are independent of each other and it should also work with sd-encrypt hook too. Let me know if I am mistaked somewhere.

diogobaeder commented on 2017-03-16 00:36

Hi guys, any ideas if this works for systemd as well - i.e., sd-encrypt? Or just plain udev + encrypt?

[EDIT] Sorry, nevermind, I opted by just using the normal encrypt hook and not use systemd in initramfs. Just tested the package, and it works like a charm, my computer can now hibernate to encrypted SWAP. Yay! Great job, guys! :-)

jrmrjnck commented on 2017-03-07 03:22

Thank you for maintaining this package. It worked perfectly for me.

ahphaw5S commented on 2016-12-06 09:35

Thank you! I have merge your changes. Let me know if I have missed something.

f4bio commented on 2016-12-06 02:00

are you the original author? any way to submit pull requests?
I've changed some lines so the mount command uses --options, to allow the keyfile to be on a btrfs (or any other) subvolume.

hussam commented on 2016-10-21 12:31

Hi. Thank you for creating this package. I have been looking for something like this.

All comments