Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_shutdown
blob: 49dfc8cda57355db9d9e79524a118c04d3ceda94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
build() {
    SCRIPT="archiso_shutdown"
    add_binary /lib/initcpio/archiso_shutdown /shutdown
}

help () {
    cat <<HELPEOF
This hook will create a shutdown initramfs in /run/initramfs
that we can pivot to on shutdown in order to unmount / and
and others mount points, dm-snapshot devices and loopback devices.
Mostly usefull for dm-snapshot persistent.
HELPEOF
}