initial version (alpha)

This commit is contained in:
Danny Morabito 2025-10-12 13:10:59 -05:00
commit b5de726919
Signed by: dannym
GPG key ID: 7CC8056A5A04557E
58 changed files with 1237 additions and 0 deletions

View file

@ -0,0 +1,24 @@
NAME="EveOS Lite Garden"
VERSION="0.1.0"
RELEASE_TYPE="stable"
ID="fedora"
ID_LIKE="fedora"
VERSION_ID=42
VERSION_CODENAME="garden"
PLATFORM_ID="platform:f42"
PRETTY_NAME="EveOS Lite Garden (Version: 0.1.0)"
ANSI_COLOR="0;38;2;120;180;100"
LOGO="eveos-logo"
CPE_NAME="cpe:/o:arx-ccn:eveos_lite:0.1.0"
DEFAULT_HOSTNAME="eveos-lite-garden"
HOME_URL="https://arx-ccn.com/eveos"
DOCUMENTATION_URL="https://arx-ccn.com/eveos/docs"
SUPPORT_URL="https://arx-ccn.com/eveos/support"
BUG_REPORT_URL="https://arx-ccn.com/eveos/bugs"
SUPPORT_END=2026-01-01
VARIANT="garden"
VARIANT_ID="garden"
OSTREE_VERSION="0.1.0"
BUILD_ID="{ID}"
IMAGE_ID="EveOS Lite Garden"
IMAGE_VERSION="0.1.0"

View file

@ -0,0 +1,2 @@
enable enable-mkhomedir.service
enable systemd-growfs@-.service

View file

@ -0,0 +1,12 @@
[Unit]
Description=Apply bootc updates
Documentation=man:bootc(8)
ConditionPathExists=/run/ostree-booted
[Timer]
OnBootSec=1h
OnUnitInactiveSec=4h
RandomizedDelaySec=10min
[Install]
WantedBy=timers.target

View file

@ -0,0 +1,24 @@
[Unit]
Description=Enable pam_mkhomedir so any user gets a home seeded from /etc/skel
ConditionFirstBoot=yes
After=network.target
[Service]
Type=oneshot
# Prefer authselect (Fedora default). Fallback if it's missing.
ExecStart=/usr/bin/bash -ceu '
if command -v authselect >/dev/null 2>&1; then
authselect current >/dev/null 2>&1 || authselect select sssd --force
authselect enable-feature with-mkhomedir
authselect apply-changes -b
else
# Fallback: ensure mkhomedir in postlogin stack
mkdir -p /etc/pam.d
if ! grep -q "pam_mkhomedir.so" /etc/pam.d/postlogin 2>/dev/null; then
printf "session required pam_mkhomedir.so skel=/etc/skel umask=0077\n" >> /etc/pam.d/postlogin
fi
fi
'
[Install]
WantedBy=multi-user.target