Fedora 44, install/configure improvements, Nextcloud desktop client fixes #24
Reference in New Issue
Block a user
Delete Branch "unbrot/fedora-OEMDRV:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR bundles a series of improvements across kickstart profiles, install/configure scripts, and the Nextcloud desktop client setup.
Kickstart / source profiles
ks_base_profiles/source_fedora_44.incwith verified mirror URLs for Fedora 44 (base, updates, cisco-openh264, rpmfusion free/nonfree + updates)kde_fullsetup.cfgandcinnamon_fullsetup.cfgto use Fedora 44 source includeks_base_profiles/cinnamon_fullsetup.cfgas a reference Cinnamon profilexappspackage to cinnamon profile to providexapp-gtk3-moduleinstall.sh / configure.sh
install.sh: forwardREPO_URLandREPO_BRANCHintoconfigure.shenvironment for bothsu -and directbashinvocation pathsinstall.sh: git origin conflict resolution no longer wipes partition content; pull always preserves local gitignored filesconfigure.sh: seed wizard from existingsetup_system.confwhen present; allow root and non-root executionsetup_system.inc.sh: useBASH_SOURCE[0]for correct path resolution when sourced; add--missingconfokflagsync_client_software.sh
flatpak override --system --socket=session-busfor Nextcloud so KWallet D-Bus access works for all users[ a || b ]→[ a ] || [ b ]Nextcloud desktop client (
0050_nextcloud_desktopclient/user_run.sh)[[ ]]with[ ],==with=, brace expansion with a proper loop over${CLIENT_DATA_SYNC[@]}fibeforedone, remove strayfi, dedent KWallet block to top levelQt: Session management error: pass--setenv=SESSION_MANAGER=tosystemd-runorg.kde.kwalletdpresence on the session bus before attempting any KWallet operationshasEntrybefore writing — skip write and print info message when both passwords are already present_nc_wipe_doneflag), not before every entry_YYYYMMDDhhmmss.bak) to avoidmvfailures on repeated runs*.bakdirectories before the sync loop_nc_first=0in the already-found branch to prevent subsequent new entries from wiping an existing Nextcloud configurationTest plan
kde_fullsetup.cfgcinnamon_fullsetup.cfginstall.shon a machine with existing OEMDRV partition — verify no content wipelogon_script.sh 0050from/opt/sys_config/system_setup/— verify Nextcloud folder already configured is left unchanged and subsequent folders are not wiped🤖 Generated with Claude Code
setup_system.inc.sh: replace $(dirname "$0") with $(dirname "${BASH_SOURCE[0]:-$0}") so paths resolve correctly whether the file is sourced or executed directly. Add --missingconfok flag to warn-and-continue instead of prompting+aborting when config is missing. Fix machine_uuid path (missing ../). Move `source config` into the else branch so it is not reached when missingconfok skips the exit. install.sh: source inc.sh instead of executing it as a subprocess so exported variables (REPO_URL etc.) propagate back to the caller. Fix git-origin conflict handling: when reusing an existing OEMDRV partition the user has already confirmed they want to keep it, so remove the "fresh clone / wipe" option entirely. Now always pulls (fetch+checkout) when a git repo is present; clears and fresh-clones only when no git repo exists on the partition. basic_pre_script.inc: dot-source inc.sh so INSTALLDOCS and other config vars are available. config.dist, sync_client_software.sh: rename UPGRADEURL/UPGRADEBRANCH to REPO_URL/REPO_BRANCH to match the variable names already used in install.sh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>