summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorNoel Miller <4983138+noelmiller@users.noreply.github.com>2024-04-23 13:52:34 -0500
committerGitHub <noreply@github.com>2024-04-23 13:52:34 -0500
commitb1e074e9118e268e8c13b6c972159a0313d444d4 (patch)
tree520889fe5648f2c2040701fa43e807976420d3c3 /build.sh
parent7427e32030ddd8edbc336c4b8f251a0de17f3e22 (diff)
downloadAeroCore-OS-b1e074e9118e268e8c13b6c972159a0313d444d4.tar.gz
AeroCore-OS-b1e074e9118e268e8c13b6c972159a0313d444d4.zip
fix: use a working example (#13)
Fedora 40 broke the example for editing systemd configuration behavior. Decided to use a simpler example.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index d5fb95d..ed25b26 100755
--- a/build.sh
+++ b/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -ouex pipefail
@@ -18,10 +18,6 @@ rpm-ostree install screen
# this would install a package from rpmfusion
#RUN rpm-ostree install vlc
+#### Example for enabling a System Unit File
-
-#### 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
+systemctl enable podman.socket