blob: b96acb401af15ce1bdcb400a8479b77396ac447f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env bash
check() {
return 255
}
depends() {
echo ""
}
install() {
inst "$moddir/scripts/dmsetup-slx-device" "/usr/local/bin/dmsetup-slx-device"
inst_hook pre-pivot 10 "$moddir/scripts/generate-fstab-swap.sh"
inst_hook pre-pivot 00 "$moddir/scripts/grow-rootfs.sh"
# deliberatly left ext helpers out for now, since we don't really use it.
inst_multiple blockdev xxd \
mkfs.ext4 resize2fs \
xfs_repair xfs_growfs
}
installkernel() {
# install those modules in case the used kernel does not have them builtin
instmods dm-thin-pool dm-snapshot dm-crypt crc32c xfs ext4
}
|