dracut/test/test-initramfs

13 lines
383 B
Bash
Executable File

#!/bin/bash
[[ -f test/root.ext2 ]] || test/make-test-root
./dracut $DRACUTOPTS -c test/dracut.conf.test -l -f test/initramfs.testing || exit
qemu-kvm -hda test/root.ext2 -m 512M -nographic \
-net nic,macaddr=52:54:00:12:34:56 \
-net user \
-kernel /boot/vmlinuz-$(uname -r) \
-initrd test/initramfs.testing \
-append "root=/dev/sda rw console=ttyS0,115200n81 $APPEND"