File tree 2 files changed +9
-1
lines changed
deck/shared/usr/share/ublue-os/just
desktop/shared/usr/share/ublue-os/just
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,10 @@ resize-deckswap:
250
250
switch-to-ext4 :
251
251
sudo sed -i ' s@STEAMOS_BTRFS_SDCARD_FORMAT_FS="btrfs"@STEAMOS_BTRFS_SDCARD_FORMAT_FS="ext4"@g' / etc/ default/ steamos-btrfs
252
252
253
+ # Force-enable AMD pstate
254
+ pstate-force-enable :
255
+ rpm-ostree kargs --append -if -missing=amd_pstate=active
256
+
253
257
# Enable ZRAM (Enabled by default)
254
258
zram-on :
255
259
#!/ usr/ bin/ bash
@@ -268,7 +272,7 @@ zram-off:
268
272
ublue-update --wait
269
273
KARGS=$(rpm-ostree kargs)
270
274
if grep -qv ' zram' <<< ${KARGS}; then
271
- rpm-ostree kargs --append =systemd.zram=0
275
+ rpm-ostree kargs --append - if -missing =systemd.zram=0
272
276
echo ' ZRAM disabled. Please reboot.'
273
277
else
274
278
echo ' ZRAM is already disabled.'
Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ install-adwaita-for-steam:
144
144
echo "This is only supported under GNOME."
145
145
fi
146
146
147
+ # Force-enable AMD pstate
148
+ pstate-force-enable :
149
+ rpm-ostree kargs --append-if-missing=amd_pstate=active
150
+
147
151
# Set system to boot without showing the grub screen with options
148
152
hide-grub :
149
153
# !/usr/bin/bash
You can’t perform that action at this time.
0 commit comments