minimales System
This commit is contained in:
+28
-17
@@ -5,9 +5,6 @@ set -eoux pipefail
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# Main Build Script
|
# Main Build Script
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# This script follows the @ublue-os/bluefin pattern for build scripts.
|
|
||||||
# It uses set -eoux pipefail for strict error handling and debugging.
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
# Source helper functions
|
# Source helper functions
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
@@ -18,24 +15,19 @@ shopt -s nullglob
|
|||||||
|
|
||||||
echo "::group:: Copy Bluefin Config from Common"
|
echo "::group:: Copy Bluefin Config from Common"
|
||||||
|
|
||||||
# Copy just files from @projectbluefin/common (includes 00-entry.just which imports 60-custom.just)
|
|
||||||
mkdir -p /usr/share/ublue-os/just/
|
mkdir -p /usr/share/ublue-os/just/
|
||||||
shopt -s nullglob
|
|
||||||
cp -r /ctx/oci/common/bluefin/usr/share/ublue-os/just/* /usr/share/ublue-os/just/
|
cp -r /ctx/oci/common/bluefin/usr/share/ublue-os/just/* /usr/share/ublue-os/just/
|
||||||
shopt -u nullglob
|
|
||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
echo "::group:: Copy Custom Files"
|
echo "::group:: Copy Custom Files"
|
||||||
|
|
||||||
# Copy Brewfiles to standard location
|
|
||||||
mkdir -p /usr/share/ublue-os/homebrew/
|
mkdir -p /usr/share/ublue-os/homebrew/
|
||||||
cp /ctx/custom/brew/*.Brewfile /usr/share/ublue-os/homebrew/
|
cp /ctx/custom/brew/*.Brewfile /usr/share/ublue-os/homebrew/
|
||||||
|
|
||||||
# Consolidate Just Files
|
find /ctx/custom/ujust -iname '*.just' -exec printf "\n\n" \; -exec cat {} \; \
|
||||||
find /ctx/custom/ujust -iname '*.just' -exec printf "\n\n" \; -exec cat {} \; >> /usr/share/ublue-os/just/60-custom.just
|
>> /usr/share/ublue-os/just/60-custom.just
|
||||||
|
|
||||||
# Copy Flatpak preinstall files
|
|
||||||
mkdir -p /etc/flatpak/preinstall.d/
|
mkdir -p /etc/flatpak/preinstall.d/
|
||||||
cp /ctx/custom/flatpaks/*.preinstall /etc/flatpak/preinstall.d/
|
cp /ctx/custom/flatpaks/*.preinstall /etc/flatpak/preinstall.d/
|
||||||
|
|
||||||
@@ -43,26 +35,45 @@ echo "::endgroup::"
|
|||||||
|
|
||||||
echo "::group:: Install Packages"
|
echo "::group:: Install Packages"
|
||||||
|
|
||||||
# Install packages using dnf5
|
# Base utilities
|
||||||
dnf5 install -y \
|
dnf5 install -y \
|
||||||
fastfetch \
|
fastfetch \
|
||||||
btop \
|
btop
|
||||||
|
|
||||||
|
# Hyprland über COPR (isoliert)
|
||||||
|
copr_install_isolated "ashbuk/Hyprland-Fedora" \
|
||||||
|
hyprland \
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
|
||||||
# Example using COPR with isolated pattern:
|
# Quickshell + Desktop-Basis aus Fedora
|
||||||
copr_install_isolated "ryanabx/cosmic-epoch" cosmic-desktop
|
dnf5 install -y \
|
||||||
|
quickshell \
|
||||||
|
hyprpaper \
|
||||||
|
hypridle \
|
||||||
|
hyprlock \
|
||||||
|
foot \
|
||||||
|
fuzzel \
|
||||||
|
wlogout \
|
||||||
|
xdg-desktop-portal-gtk \
|
||||||
|
network-manager-applet
|
||||||
|
|
||||||
|
# Laptop-spezifische Komponenten
|
||||||
|
dnf5 install -y \
|
||||||
|
power-profiles-daemon \
|
||||||
|
upower \
|
||||||
|
bluez \
|
||||||
|
bluez-tools \
|
||||||
|
blueman
|
||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
echo "::group:: System Configuration"
|
echo "::group:: System Configuration"
|
||||||
|
|
||||||
# Enable/disable systemd services
|
|
||||||
systemctl enable podman.socket
|
systemctl enable podman.socket
|
||||||
# Example: systemctl mask unwanted-service
|
systemctl enable bluetooth.service
|
||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
# Restore default glob behavior
|
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
|
|
||||||
echo "Custom build complete!"
|
echo "Custom build complete!"
|
||||||
|
|||||||
Reference in New Issue
Block a user