archboot/usr/lib/initcpio/install/archboot_lvm2

29 lines
902 B
Text
Raw Normal View History

#!/usr/bin/env bash
2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-02-22 23:46:50 +01:00
{
apps="lvmdump lvmconfig vgimportclone fsadm vgcfgbackup vgcfgrestore vgchange \
vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes \
vgreduce vgremove vgrename vgs vgscan vgsplit pvchange pvck pvcreate pvdisplay \
pvmove pvremove pvresize pvs pvscan lvchange lvconvert lvcreate lvdisplay \
lvextend lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs \
lvscan lvm_import_vdo lvmdevices lvmpolld vgimportdevices"
2012-05-27 11:53:08 +02:00
for i in $apps; do
add_binary "$i"
done
2010-03-17 00:09:17 +01:00
add_dir "/etc/lvm/backup/"
add_dir "/etc/lvm/archive/"
2012-08-11 13:27:09 +02:00
for i in /usr/lib/liblvm*; do
add_file "$i"
done
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook adds complete lvm2 to archboot image,
which is not covered by lvm2 hook.
2007-02-22 23:46:50 +01:00
HELPEOF
}