Ubuntu 20.04 Root on ZFS

NOTE: This guide is adapted from the OpenZFS project Wiki on installing Ubuntu 18.04 Root on ZFS. In some of the steps there are very specific parameters that are specific to my build and my environment. This post is meant to document my configuration. Step 1: Prepare The Install Environment 1.1 Boot the Ubuntu Live CD. Select Try Ubuntu. Connect your system to the Internet as appropriate (e.g. join your WiFi network).
Read more →

Compile a User Local Install of CMake

To provide a local, and most likely newer, version of CMake than the system packages provide you can easily build it from source and install it to the systemd file-hierarchy spec which is an extension of the xdg user-dirs spec. The effect of this is there can be a fully functional CMake on the current user’s path and it will only be available to the current user. This is achieved by installing CMake to $HOME/.
Read more →

Write udev Rule For FT232H

If you want to access a user space GPIO chip in Linux with out root (or sudo) privileges then the device needs to not be created with root access controls. One way to reduce the access level required for a device is to write a custom udev rule. Here we are going to try and take a GPIO device at /dev/gpiochip0 and mount it with the group gpio. Creating the Group Assuming the gpio group does not already exist on your system it is simple to do so.
Read more →

Create Swift Community Hosted Continuous Integration Node

I would like to create a Swift Community Hosted Continuous Integration (CI) node for Ubuntu 20.04. You can see other community hosted CI notes at https://ci-external.swift.org/. Swift Community-Hosted CI is an extension of Swift CI that allows the community to add additional platforms. Community members can volunteer to host new platforms and they are responsible for maintaining the host nodes. To do this I plan to use my home server to host a build (or maybe two).
Read more →

Force RGB pixel format over YCbCr

There are some monitors, in my case Dell U2413, that report having YCbCr support when plugged in over HDMI. My AMD Radeon RX 570 Series video card sees this YCbCr pixel format and then prefers that over the RGB pixel format. The result is that fonts, graphics and other visuals are pixelated and not smooth in Ubuntu. This actually is not just a Linux problem. With the same monitor hooked up over HDMI in macOS you get the same behavior.
Read more →