Major refactor to blue-build to allow more complex builds

This commit is contained in:
badblocks 2024-11-13 20:44:18 -08:00
parent 01259cef7b
commit fb2297478c
No known key found for this signature in database
15 changed files with 215 additions and 500 deletions

View file

@ -0,0 +1,2 @@
[org.gnome.settings-daemon.plugins.power]
power-button-action='interactive'

View file

@ -0,0 +1,25 @@
#!/bin/sh
set -oex pipefail
set +u
# from RPMs on Github
# Space-separated list of repo/package strings
repos="quexten/goldwarden"
# Loop through each repo/package
for repo_package in $repos; do
# Split the string into repo and package using parameter expansion
repo=${repo_package%/*}
package=${repo_package#*/}
# Fetch the latest release download URL for .rpm assets
download_url=$(wget -qO- "https://api.github.com/repos/$repo/$package/releases/latest" \
| jq -r '.assets[] | select(.name | match(".rpm")) | .browser_download_url')
# Download the asset as <PACKAGE>.rpm
wget -qO "$package.rpm" "$download_url"
# Install the package
rpm-ostree install "$package.rpm"
done

View file

@ -0,0 +1 @@

View file