Files
euri-iso/iso-profiles/antergos-minimal/root-overlay/usr/bin/systemd-machine-id-setup
T
c-ludenberg 8698fe4995 feat: add Antergos NeXT Minimal (Xfce) profile — lightweight ISO edition
Introduces iso-profiles/antergos-minimal/, a new Xfce-based profile for
building a lightweight Antergos NeXT ISO under the 2 GB GitHub Releases
limit (the full Plasma profile produces ~2.15 GB).

Profile structure:
- profile.yaml: Xfce4 desktop, dinit-only init packages, Falkon browser,
  minimal app selection, antergos-xfce-theme included in rootfs
- root-overlay/: SDDM configured for xfce.desktop, GRUB theme pointed to
  antergos, xfconf settings for Antergos-NeXT GTK/xfwm4 theme
- live-overlay/: Calamares offline + online configs, netinstall with
  multiple DE options (Plasma, Xfce, Cinnamon, MATE, LXQt, i3, Sway,
  Hyprland), notesqml@minimal-info step explaining the edition rationale,
  basestrap operations for antergos-release/grub-theme/keyring, display
  manager selection (SDDM/LightDM/LXDM/LY), audio services (pipewire),
  and antergos-xfce-theme in the Xfce subgroup

Default Xfce theme is set to Antergos-NeXT (Numix-derived, blue accent)
via xfconf XML in both live-overlay and root-overlay skel directories.
2026-07-08 18:51:35 +02:00

30 lines
559 B
Bash
Executable File

#!/bin/bash
ROOT=""
for arg in "$@"; do
case "$arg" in
--root=*)
ROOT="${arg#*=}"
;;
esac
done
MACHINE_ID_FILE="${ROOT}/etc/machine-id"
if [ -f "$MACHINE_ID_FILE" ] && [ -s "$MACHINE_ID_FILE" ]; then
exit 0
fi
mkdir -p "$(dirname "$MACHINE_ID_FILE")"
if command -v dbus-uuidgen &>/dev/null; then
dbus-uuidgen --ensure 2>/dev/null
fi
if [ ! -f "$MACHINE_ID_FILE" ] || [ ! -s "$MACHINE_ID_FILE" ]; then
od -An -N16 -tx1 /dev/urandom | tr -d ' \n' > "$MACHINE_ID_FILE"
fi
chmod 0644 "$MACHINE_ID_FILE"