build scripts for Artix+minibase bootable qemu images

Alex Suykov 8fd78be4e1 minibase-0.6.2 7 年之前
bootfs 61812ba7e5 build scripts 7 年之前
build 8fd78be4e1 minibase-0.6.2 7 年之前
dropin dca90558b6 updates for linux-4.15.0 7 年之前
initrd 61812ba7e5 build scripts 7 年之前
local 8fd78be4e1 minibase-0.6.2 7 年之前
.gitignore 61812ba7e5 build scripts 7 年之前
Makefile 61812ba7e5 build scripts 7 年之前
README c32fe1144c readme updates 7 年之前
bootfs.sh 61812ba7e5 build scripts 7 年之前
deploy.sh 61812ba7e5 build scripts 7 年之前
initrd.sh dca90558b6 updates for linux-4.15.0 7 年之前
rootfs.px a917a86bda pacman related fixes 7 年之前
whole.sh 61812ba7e5 build scripts 7 年之前
xqemu.sh 61812ba7e5 build scripts 7 年之前

README

Build scripts for Artix+minibase qemu images.
Run `make` to build and `./xqemu.sh` to boot.

Build requirements: make, curl, bsdtar, fakeroot, perl,
mkfontdir, mkfs.ext4, mkfs.fat, cpio, syslinux, modprobe.

Pre-built xorg-server and minibase packages are in ./local
PKGBUILDs for them are in ./build but re-building them is
left out of Makefile because it requires makepkg and a host
system running either Artix or mainline Arch Linux.

The list of packages to include is at the top of ./rootfs.px

Beware the complete image is over 1GB!


Once the system is running:

Ctrl-F2: root console
Ctrl-F3: 1st X session (also default)
Ctrl-F5: 2nd X session
Ctrl-Esc: control VT, commands there:

Shift-P: poweroff
Shift-R: reboot
Esc: go back

To use pacman, make sure to initialize its db for the root console:

pacman-db-upgrade

There's also a serial console on the 1st serial port in qemu.
Hit Ctrl-Alt-2 (or 3) to switch there. Go back with Ctrl-Alt-1.