Skip to content

Commit af6ea19

Browse files
include early swap support
1 parent e100fee commit af6ea19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

initrd-cryptsetup.service

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ InitrdPath=/etc/fstab source=/etc/mkinitcpio.d/fstab replace=yes
3737
# provide folder for sysroot.mount
3838
InitrdPath=/sysroot/ create=yes
3939

40+
# include early swap support
41+
InitrdBinary=/usr/bin/swapon
42+
InitrdBinary=/usr/bin/swapoff
43+
4044
# include cryptsetup binaries
4145
InitrdBinary=/usr/bin/dmsetup
4246
InitrdCall=add_module dm-crypt

0 commit comments

Comments
 (0)