2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2009-11-23 22:24:01 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2009-11-23 22:24:01 +01:00
|
|
|
{
|
2012-05-26 12:07:05 +02:00
|
|
|
add_checked_modules 'md/dm-*'
|
2022-01-28 09:24:28 +01:00
|
|
|
apps="dmsetup dmeventd blkdeactivate dmstats"
|
2022-01-28 09:16:19 +01:00
|
|
|
for i in $apps; do
|
|
|
|
add_binary "$i"
|
|
|
|
done
|
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
|
|
|
|
}
|