#!/bin/bash check() { # a live host-only image doesn't really make a lot of sense [[ $hostonly ]] && return 1 return 255 } depends() { return 0 } installkernel() { instmods squashfs loop unionfs } install() { dracut_install umount inst blkid inst dd inst losetup inst grep dracut_install -o eject inst blockdev inst_hook cmdline 30 "$moddir/mgalive-parse.sh" inst_hook pre-udev 30 "$moddir/mgalive-genrules.sh" inst "$moddir/mgalive-root.sh" "/sbin/mgalive-root" # should probably just be generally included inst_rules 60-cdrom_id.rules }