Something went wrong. Try again.
Setup of my Bazzite env.
Something went wrong. Try again.
123456789101112131415161718192021#!/usr/bin/env bashset -euo pipefailsource "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
mapfile -t packages < <(read_manifest "$ROOT/manifests/host-packages.txt")rpm="$ROOT/assets/rpms/dashballs-1.0.0-1.fc44.noarch.rpm"
if ! rpm -q dashballs >/dev/null 2>&1; then packages+=("$rpm")fi
if ((${#packages[@]} == 0)); then echo "No host packages to layer." exit 0fi
echo "Layering host packages (reboot before they are active):"printf ' %s\n' "${packages[@]}"sudo rpm-ostree install --idempotent --allow-inactive "${packages[@]}"echo "Host packages staged. Reboot to apply rpm-ostree changes."