summaryrefslogtreecommitdiffstats
path: root/modules.d/openslx-tmp-format/module-setup.sh
blob: 7449c0cb2bfc11d83a1e21955896d335ff5ab55e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

check() {
	# Tell dracut that this module should only be included if it is required
	# explicitly.
	return 255
}
depends() {
	echo custom-logging dnbd-root-filesystem
}
install() {
	inst_hook pre-pivot 20 "$moddir/scripts/openslx_tmp_format.sh"
	inst_multiple mkfs.xfs mkfs.ext4
}