what do this package?
Search Criteria
Package Details: mkinitcpio-openswap 0.1.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/mkinitcpio-openswap.git (read-only, click to copy) |
|---|---|
| Package Base: | mkinitcpio-openswap |
| Description: | mkinitcpio hook to open swap at boot time |
| Upstream URL: | https://aur.archlinux.org/packages/mkinitcpio-openswap/ |
| Licenses: | MIT |
| Submitter: | ahphaw5S |
| Maintainer: | ahphaw5S (bambuch) |
| Last Packager: | bambuch |
| Votes: | 26 |
| Popularity: | 0.001828 |
| First Submitted: | 2015-06-01 14:05 (UTC) |
| Last Updated: | 2025-07-15 01:17 (UTC) |
simona commented on 2025-11-15 16:25 (UTC)
gcrtnst commented on 2025-11-09 12:42 (UTC)
Could you please consider adding Plymouth support to mkinitcpio-openswap?
Currently, if openswap runs while the Plymouth splash screen is active, the password prompt is hidden behind the splash, making it unusable.
The built-in encrypt hook in mkinitcpio automatically uses the Plymouth password prompt when the splash is displayed. Implementing a similar mechanism for openswap would greatly improve the user experience.
Thanks for maintaining this package!
ostheer commented on 2025-05-25 17:54 (UTC) (edited on 2025-05-25 21:19 (UTC) by ostheer)
This works. However, I'm using native ZFS encryption for my root fs. Now, I get prompted twice at boot for a password (first for swap, then for root).
I only need my swap open in initramfs when resuming from hibernation (on a clean boot, it gets opened through crypttab and keyfile on root). On a clean boot, I can just enter an empty (incorrect) password 3 times, swap gets skipped, system boots and opens swap just fine. However, each incorrect password takes time.
Is there any way to conditionally open the swap, only when EFI reports a hibernation image?
Something like this would work (except I don't know how to implement the actual conditional, I can imagine probing the HibernateLocation EFI var somehow):
run_hook () {
if SOMETHING; then
return 0
fi
... # Original hook
}
jpwhiting commented on 2023-10-06 18:21 (UTC)
Shouldn't the license be 'MIT' instead of 'unknown'? The LICENSE file is MIT...
<deleted-account> commented on 2023-06-26 18:38 (UTC)
What is crypt_swap_name and what am I supposed to type ther? Label? /dev/ fromcryptab? /dev/mapper/ from fstab? I understand it's 20 iq question and I'm mentally challenged, but I tried everything.
Pinned Comments