Compare commits

..

7 Commits

Author SHA1 Message Date
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
3 changed files with 1 additions and 13 deletions

View File

@ -1,4 +0,0 @@
[General]
EnableNetworkConfiguration=false
[Network]
NameResolvingService=systemd

View File

@ -1,9 +0,0 @@
[Match]
Type=wlan
[Network]
DHCP=true
[DHCPv4]
ClientIdentifier=mac
UseDomains=true

View File

@ -1 +1,2 @@
u shairport-sync - "Shairport Sync"
m shairport-sync audio