Skip to content

Commit

Permalink
include early swap support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Pozolotin committed Feb 10, 2018
1 parent e100fee commit af6ea19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions initrd-cryptsetup.service
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ InitrdPath=/etc/fstab source=/etc/mkinitcpio.d/fstab replace=yes
# provide folder for sysroot.mount
InitrdPath=/sysroot/ create=yes

# include early swap support
InitrdBinary=/usr/bin/swapon
InitrdBinary=/usr/bin/swapoff

# include cryptsetup binaries
InitrdBinary=/usr/bin/dmsetup
InitrdCall=add_module dm-crypt
Expand Down

0 comments on commit af6ea19

Please sign in to comment.