archboot/usr/lib/initcpio/install/archboot_devicemapper

22 lines
402 B
Text
Raw Normal View History

#!/usr/bin/env bash
2009-11-23 22:24:01 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2009-11-23 22:24:01 +01:00
{
2012-05-26 12:07:05 +02:00
add_checked_modules 'md/dm-*'
2013-05-22 09:42:47 +02:00
add_binary "dmsetup"
add_binary "dmeventd"
2009-11-23 22:24:01 +01:00
add_dir "/dev/mapper"
2012-08-11 13:27:09 +02:00
add_full_dir "/usr/lib/device-mapper"
for i in /usr/lib/libdevmapper*; do
add_file "$i"
done
2009-11-23 22:24:01 +01:00
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook includes devicemapper on an archboot image.
2009-11-23 22:24:01 +01:00
HELPEOF
}