Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2023-06-15Fix optional shellcheck warningsnl6720
Additionally fix a few code style issues found with shfmt.
2021-05-06Use QEMU 6.x optionsDavid Runge
scripts/run_archiso: Change parameters to qemu's `-drive` option to make use of the explicit `read-only=on`, as the implicit `read-only` is now obsolete. Closes #126
2021-01-31rm un-used set_image() dupe of check_image() in run_archiso.shMichael Vorburger
2021-01-23add -c => -cdrom cloud-init.iso support to run_archiso.shMichael Vorburger
Co-authored-by: nl6720 <nl6720@gmail.com>
2021-01-23make run_archiso forward VM's port 22 to host 60022, for easy SSH testingMichael Vorburger
2021-01-23add VNC support to run_archiso.shMichael Vorburger
Usage: Launch run_archiso.sh -v ..., and then use a VNC viewer (e.g. from https://wiki.archlinux.org/index.php/List_of_applications/Internet#Remote_desktop) to connect (typically to `localhost`) on the default VNC port (5900). This enables using run_archiso in a "headless" session; e.g. when SSH logged in to the CLI of a VM, without a local display attached. This is handy e.g. when playing https://en.wikipedia.org/wiki/Inception and running an archlinux*.iso on any non-Arch (say Fedora workstation), on which one built a new ISO, that you then "run_archiso", inside which you could build another ISO, which you could itself start inside the nested VM... ;-) Jokes apart, this could also be used to run automated CI/CD tests of the built ISO, which is particularly interesting in combination with the cloud-init support; see https://wiki.archlinux.org/index.php/Cloud-init. see https://bugs.archlinux.org/task/69142
2020-10-29Add accessibility support based on option flagDavid Runge
scripts/run_archiso.sh: Add the `-a` option flag to add accessibility support on demand for `run_archiso`. Add accessibility specific options to qemu in `run_image()`. Not providing the specific braille chardev hardware otherwise blocks running run_archiso with `qemu-system-x86_64: -chardev braille,id=brltty: brlapi__openConnection: connect: No such file or directory`. Fixes #77
2020-10-25run_archiso: fixup !86Alexander Epaneshnikov
forgot to enable USB support.
2020-10-24run_archiso: add braille supportAlexander Epaneshnikov
necessary for testing brltty in archiso
2020-10-10add sound support in run_archiso.shAlexander Epaneshnikov
also included serial output on stdio it helps in debugging without sight.
2020-08-18scripts/run_archiso.sh: support booting the image as a hard disk or an ↵nl6720
optical disc Use virtio-scsi to attach the image. virtio-blk (if=virtio) is inconsistent about the used media type.
2020-08-18scripts/run_archiso.sh: disable PXE ROMnl6720
ISO testing doesn't require the emulated firmware's PXE stack. For UEFI, it only disable iPXE in favor of EDK II network stack. https://github.com/tianocore/tianocore.github.io/wiki/EDKII-Network-Over-QEMU#verification-result
2020-08-18scripts/run_archiso.sh: don't duplicate qemu commands for each boot modenl6720
Various bash script improvements.
2020-07-10Adding script to run archiso in qemuDavid Runge
scripts/run_archiso.sh: A script to run a built archiso image using qemu. It can run the image on an emulated BIOS (using seabios) or UEFI (using edk2-ovmf) system. .gitlab-ci.yml: Adding scripts/run_archiso.sh to shellcheck call. Closes #28