More work on system updates support.
This commit is contained in:
@@ -5,7 +5,11 @@ Dates are given for the image. All items listed are available for the listed ima
|
|||||||
|
|
||||||
## October 1, 2025
|
## October 1, 2025
|
||||||
|
|
||||||
- Update system added
|
- System update option added in System menu
|
||||||
|
- Dedicated update user added for the system update functionality
|
||||||
|
- User name is patron
|
||||||
|
- Password is the Patreon password provided at the beginning of the month
|
||||||
|
- Credentials should only need updating when the password changes
|
||||||
- Add upload audiobook capability to upload server
|
- Add upload audiobook capability to upload server
|
||||||
- Wine configuration update (x86_64)
|
- Wine configuration update (x86_64)
|
||||||
- System updates
|
- System updates
|
||||||
|
|||||||
@@ -1,17 +1,27 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Stop the screen reader if this closes for any reason
|
||||||
|
trap 'sudo -n /usr/bin/systemctl stop fenrirscreenreader.service' SIGINT SIGTERM SIGHUP EXIT
|
||||||
|
|
||||||
|
# Start Fenrir for interaction with the terminal
|
||||||
|
sudo -n /usr/bin/systemctl start fenrirscreenreader.service
|
||||||
|
|
||||||
|
# Clear the screen before loading
|
||||||
|
clear
|
||||||
|
|
||||||
# Update system packages (run as stormux user since yay shouldn't run as root)
|
# Update system packages (run as stormux user since yay shouldn't run as root)
|
||||||
sudo -u stormux yay -Syu --noconfirm --removemake --cleanafter
|
sudo -u stormux yay -Syu --noconfirm --removemake --cleanafter
|
||||||
|
|
||||||
gitUrl="https://git.stormux.org/storm/gaming-image-files"
|
gitUrl="https://git.stormux.org/storm/gaming-image-files"
|
||||||
gitPath="${gitUrl##*/}"
|
gitPath="${gitUrl##*/}"
|
||||||
pushd /tmp || exit
|
pushd /tmp || exit
|
||||||
|
git config --global credential.helper store
|
||||||
git clone "${gitUrl}"
|
git clone "${gitUrl}"
|
||||||
pushd "${gitPath}" || exit
|
pushd "${gitPath}" || exit
|
||||||
git checkout master
|
git checkout master
|
||||||
git lfs pull
|
git lfs pull
|
||||||
# Files and directories to ignore when copying
|
# Files and directories to ignore when copying
|
||||||
ignoreFiles=(".git" "./image" ".git*" "/home/stormux/.w3m")
|
ignoreFiles=(".git" "./image" ".git*" "/home/stormux/.w3m" "/home/stormux/.irssi")
|
||||||
# Build find command with ignore patterns
|
# Build find command with ignore patterns
|
||||||
findArgs=()
|
findArgs=()
|
||||||
for ignore in "${ignoreFiles[@]}"; do
|
for ignore in "${ignoreFiles[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user