blob: 7560e05e596d4ec5ab09c8e55b73c0a7989d7a8c (
plain)
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
27
28
29
30
31
32
33
34
35
|
#!/bin/bash
check() {
# Only include the module if another module requires it
return 255
}
depends() {
echo "base debug qemu watchdog"
}
installkernel() {
instmods \
ata_piix \
ext4 \
i6300esb \
ide-gd_mod \
piix \
sd_mod \
virtio_pci \
virtio_scsi
}
install() {
# do not compress, do not strip
export compress="cat"
export do_strip="no"
export do_hardlink="no"
export early_microcode="no"
export hostonly_cmdline="no"
inst poweroff
inst_hook shutdown-emergency 000 "$moddir/hard-off.sh"
inst_hook emergency 000 "$moddir/hard-off.sh"
}
|