Skip to content

Commit

Permalink
update hooks to handle lvm
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Dec 8, 2014
1 parent 0c44ce4 commit 2e5acd5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion initcpio/hooks/dock0
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ dock0_mount_handler() {

_mnt_dev "${root}" "${base}" "-w"
[ -e "${base}/configs/lvm" ] && lvm < "${base}/configs/lvm"
mkfs.btrfs -f "${cow_dev}"
_mnt_dev "${cow_dev}" "/run/dock0/cowspace" "-w"
_mnt_loop "${base}/current/vm_root" "/run/dock0/sfs/"
_mnt_fs "/run/dock0/sfs/root.fs" "${newroot}" "/"
Expand Down
6 changes: 0 additions & 6 deletions initcpio/install/lvm-dock0
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,3 @@ build() {
add_runscript
}

help() {
cat <<HELPEOF
This hook enables LVM2 volumes in initramfs.
HELPEOF
}

0 comments on commit 2e5acd5

Please sign in to comment.