diff options
| -rw-r--r-- | README.md | 9 | ||||
| -rwxr-xr-x | qemu.sh | 10 | ||||
| -rw-r--r-- | sys/etc/mkinitcpio.conf | 2 |
3 files changed, 20 insertions, 1 deletions
@@ -103,6 +103,15 @@ want: $ gsutil rm gs://BUCKET_NAME/arch-vDATE.tar.gz ``` +## Testing with qemu + +Change the owner of disk or tar.gz files to your own user and then run + +``` +$ ./qemu.sh <disk | image-name> +``` + + ## Contributing Changes * See [CONTRIB.md](CONTRIB.md) @@ -0,0 +1,10 @@ +#!/bin/sh + +image=$1 +echo $image +qemu-system-x86_64 -enable-kvm \ + -drive format=raw,file=$image,if=virtio \ + -net none \ + -m 512M \ + -bios /usr/share/ovmf/x64/OVMF.fd \ + -boot menu=on diff --git a/sys/etc/mkinitcpio.conf b/sys/etc/mkinitcpio.conf index de97b63..abe6299 100644 --- a/sys/etc/mkinitcpio.conf +++ b/sys/etc/mkinitcpio.conf @@ -49,7 +49,7 @@ FILES=() # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr, fsck and shutdown hooks. -HOOKS=(systemd modconf) +HOOKS=(systemd autodetect block modconf) # COMPRESSION # Use this to compress the initramfs image. By default, zstd compression |
