Commit Graph

10 Commits (dev/new)

Author SHA1 Message Date
Dustin 0635cdbe83 fixup! Install shairport-sync
dustin/airplaypi/pipeline/head This commit looks good Details
2025-09-09 10:31:25 -05:00
Dustin beac5cfaec iwd: Disable network configuration
We just want `iwd` to connect to the WiFi network.  `systemd-networkd`
will handle IP management.
2025-09-09 10:29:09 -05:00
Dustin 3aa291904b resolved: Disable mDNS
dustin/airplaypi/pipeline/head This commit looks good Details
`avahi-daemon` complains:

> WARNING: Detected another IPv4 mDNS stack running on this host. This
> makes mDNS unreliable and is thus not recommended.
2025-09-09 07:40:11 -05:00
Dustin 78687b48dc ci: Fetch Aimee OS Git tags
Need the tags to build the correct version string for Aimee OS.
2025-09-09 07:40:11 -05:00
Dustin 87dded162e ci: Fix pod UIDs/GIDs
Now that we have _democratic-csi_ for storage management, the old manual
iSCSI volumes are being replaced with dynamically provisioned volumes.
ThiThe new _buildroot-airplaypi_ volume is completely blank, so _root_
owns everything.  The old volume had the correct ownership because it
was originally mounted in a pod that had the default `securityContext`,
before we changed the merge strategy.  We now need to explicitly set the
UIDs and GIDs, since we're not inheriting the default `securityContext`
anymore.
2025-09-09 07:40:11 -05:00
Dustin fa7548cacc Install shairport-sync
`shairport-sync` provides the AirPlay functionality for _airplaypi_.
2025-09-09 07:40:11 -05:00
Dustin 607af90e0c ci: Skip SELinux relabel on start
By default, CRI-O assigns a random SELinux category to every pod, and
then must adjust the label of every file and directory in the persistent
volume to match.  For very large volumes like a Buildroot output
directory, this can take quite some time.  Fortunately, if we assign a
static category, we can tell CRI-O to skip the relabel step.

Unfortunately, Jenkins does not merge the `securityContext` field of the
pod spec when the `yamlMergeStrategy` is set to `merge`.  For our custom
settings to apply, we have to leave the merge strategy at the default,
`override`.
2025-09-09 07:40:11 -05:00
Dustin 9dd4a16e2b Enable WiFi, SSH 2025-09-09 07:40:11 -05:00
Dustin 153a8071a9 Add a root shell on UART console
Until I implement some kind of self-provisioning process for these
machines (supposing I ever do), I need a way to log in and
configure/troubleshoot.  I don't think there's any particular security
concern by having an auto-logged-in root shell on the UART console, as
accessing it needs physical access to the machine.
2025-09-09 07:40:03 -05:00
Dustin 025bf8be34 Initial commit 2025-09-09 07:10:46 -05:00