refutationalist / saur

Sam's AUR -- personal Arch packages
4 stars 5 forks source link

Sam's AUR

This is a personal repo of packages for Arch Linux. Some of these are forks wanting a merge, modifications of modified software, or in a couple of cases, packages I'm maintaining in AUR.

Most of these packages are for use in my radio studio for shows including Ask an Atheist with Sam Mulvey, Radio Tacoma KTAH-LP 101.9, and KTQA-LP.

There's also a game I'm kind of addicted to.

My Stuff

Standalone Packages

Fonts

Xen

Building Xen

It is recommended to build Xen packages in a clean VM or chroot. Xen is a split package, and there are several options to building Xen:

1) build_stubdom -- Build the components to run Xen stubdoms, mainly for dom0 disaggregation. Components for stubdom are broken off into xen-stubdom if built. Defaults to false. 2) boot_dir-- Your boot directory. Defaults to /boot. 3) efi_dir, efi_mountpoint -- Your EFI directory and mountpoint. Defaults to /boot.

Pass these arguments to makepkg as variables:

$ build_stubdom=true efi_dir="/boot/EFI" makepkg

If you build stubdom, note that it brings in a number of other components. Also note that as of 4.16.2, this package uses the stable git branch rather than the release tarball.

This PKGBUILD is split and will create the main xen package, a xen-docs documentation package, and optionally a xen-stubdom package holding the stubdom components.

QEMU for Xen

Attention Conservation Notice: Build and install this package if you're running Xen on Arch.

If you want to run PV or HVM domU's, PCI passthrough, or even VNC consoles on your PVH domU's, you need QEMU. xen-qemu provides a QEMU compatible with Xen. On the other hand, if you're running basic domUs in a PVH environment, QEMU is not needed. But you'll probably want it anyway.

Xen support in QEMU has been upstreamed for quite some time but QEMU in [extra] does not support it, as building it requires Xen libraries. We have previously depended on a builtin version of QEMU that Xen builds, but it lags behind QEMU official and is difficult to patch. As of 4.16.2, we now build QEMU for Xen separately. The build options are pulled directly from Xen's built-in build and are designed to not interfere with QEMU from [extra].

xen-pvhgrub

PVH is the new virtualization method and has a number of advantages. This package is a version of GRUB2 that will allow a PVH domU to boot kernels installed inside the domU. Instructions are available in the package directory.

Future Plans for Xen in Arch

The Xen package has been in AUR for some time and I am only the most recent maintainer for the package. As of 2022-08, I'd have to jump through a lot of hoops to get Xen into the repos so it's not a target. That said, I'm trying to set things up so that bringing the packages into the repositories would not be too onerous. Splitting QEMU off is a step forward, but moving to the stable branch in git might be a step back as the builds are less reproducable. Pinning the build to a specific commit may help. Also, signed commits from upstream would be good as we lost the ability to test the tarball against a GPG cert.

The support for stubdoms from upstream is questionable, and several maintainers have attempted to phase out the support. My comporomise has been to split stubdom off into a separate package. As PVH gets support for things like PCI or GPU passthrough, the need for stubdom will become much smaller.