diff options
| author | Kyle Gospodnetich <me@kylegospodneti.ch> | 2024-04-14 22:27:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-15 00:27:36 -0500 |
| commit | e617e14dd0db5eb05613506cd37e0bef948f4f9d (patch) | |
| tree | 0ad12fda7cbe590413e6fe87da9ccb5484c3fa6b /build.sh | |
| parent | f248afd48be0b48153b3aeb1e79b1001541aa44c (diff) | |
| download | AeroCore-OS-e617e14dd0db5eb05613506cd37e0bef948f4f9d.tar.gz AeroCore-OS-e617e14dd0db5eb05613506cd37e0bef948f4f9d.zip | |
fix: clarify ostree container commit must be used (#4)
* fix: clarify ostree container commit must be used after each RUN
* chore: use a bash script and simplify Containerfile
---------
Co-authored-by: Benjamin Sherman <benjamin@holyarmy.org>
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..d5fb95d --- /dev/null +++ b/build.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +set -ouex pipefail + +RELEASE="$(rpm -E %fedora)" + + +### Install packages + +# Packages can be installed from any enabled yum repo on the image. +# RPMfusion repos are available by default in ublue main images +# List of rpmfusion packages can be found here: +# https://mirrors.rpmfusion.org/mirrorlist?path=free/fedora/updates/39/x86_64/repoview/index.html&protocol=https&redirect=1 + +# this installs a package from fedora repos +rpm-ostree install screen + +# this would install a package from rpmfusion +#RUN rpm-ostree install vlc + + + +#### Change to System Configuration Files + +# this example modifies default timeouts to prevent slow reboots from services that won't stop +sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/user.conf +sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf |
