Package Details: mkinitcpio-openswap 0.1.0-3

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: unknown
Submitter: ahphaw5S
Maintainer: ahphaw5S
Last Packager: ahphaw5S
Votes: 25
Popularity: 1.15
First Submitted: 2015-06-01 14:05 (UTC)
Last Updated: 2017-10-27 14:56 (UTC)

Latest Comments

1 2 3 Next › Last »

jrmrjnck commented on 2017-11-06 00:08 (UTC)

/openswap.conf is the correct path. This package has already been updated with the fix. Make sure you update/reinstall the mkinicpio-openswap package (which will automatically rebuild the initramfs), rather than just update the hook file on your filesystem.

diogobaeder commented on 2017-11-05 23:53 (UTC)

Sorry, forgot to mention: I already tried changing "/openswap.conf" to "/etc/openswap.conf", inside the hook config, and it didn't work (not sure why). Is there any command I need to run after changing this path in the hook config?

diogobaeder commented on 2017-11-05 23:51 (UTC)

Hi guys, It's broken for me as well, I'm using the latest version as of this writing (0.1.0-3), together with mkinitcpio-busybox 1.27.2-1, and the only way I can get my laptop to boot is to either remove the openswap hook from /etc/mkinitcpio.conf or downgrade mkinitcpio-busybox. Now, to be fair, I'm not sure if it's an issue with busybox or openswap, but the latest versions of them are not talking well to each other. Cheers, Diogo

commented on 2017-10-23 05:52 (UTC)

Bug report: https://bugs.busybox.net/show_bug.cgi?id=10446

commented on 2017-10-23 05:42 (UTC)

This is a bug in busybox: ~ % busybox sh # touch test.conf # source test.conf sh: source: test.conf: not found # source ./test.conf # I will report the bug upstream.

jrmrjnck commented on 2017-10-22 21:26 (UTC)

Editing the openswap.conf path in the hook worked for me. danieldk, did you root cause what changed in mkinicpio/busybox that broke this?

hussam commented on 2017-10-22 15:22 (UTC)

danieldk: ok, thank you for explaining.

commented on 2017-10-22 15:15 (UTC)

hussam: because in the (cpio) ramdisk openswap.conf is stored in /. See https://aur.archlinux.org/cgit/aur.git/tree/openswap.install?h=mkinitcpio-openswap#n3 or lsinitcpio /boot/initramfs-linux.img | grep openswap.conf

hussam commented on 2017-10-22 13:27 (UTC)

Hi. Sorry in advance for the ignorant question but why does the patch in the bug tracker say: - source openswap.conf + source /openswap.conf instead of: - source openswap.conf + source /etc/openswap.conf?

commented on 2017-10-22 13:25 (UTC)

This does not belong in the bugtracker, I misinterpreted the 'community' in the 'community packages'. So, I will post the report here instead: Since the mkinitcpio-busybox update to 1.27.2-1 (I think), openswap fails with the error line 17: openswap.conf: not found Sourcing openswap.conf with an absolute path in the hook solves this on my system.