blob: 51d153414516027047c621f153ad09be47719770 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/env bash
check() {
return 255
}
depends() {
echo "haveged slx-tools"
}
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"
inst_multiple blockdev xxd \
mkfs.ext4 resize2fs \
mkfs.xfs xfs_repair xfs_growfs
inst_multiple -o ntfsfree
}
installkernel() {
# install those modules in case the used kernel does not have them builtin
instmods \
dm-thin-pool dm-snapshot dm-zero dm-crypt \
crc32c xts aes drbg ansi_cprng \
xfs ext4
}
|