void-minecraft-usb/dracut-modules/90void-usb/module-setup.sh

21 lines
289 B
Bash

#!/usr/bin/env bash
check() {
return 0
}
depends() {
echo bash
}
install() {
inst_hook pre-udev 90 "$moddir/create-loop0.sh"
inst_hook pre-mount 92 "$moddir/squashfs-img.sh"
inst_hook pre-pivot 90 "$moddir/overlay.sh"
}
installkernel() {
instmods loop
instmods overlay
}