Commit Graph

33 Commits

Author SHA1 Message Date
Daniel unbrot Pätzold 48803d89a4 Configure: Take given REPO_URL and BRANCH to new installation 2026-05-03 21:48:52 +02:00
Daniel unbrot Pätzold 8652131882 inc.sh: use BASH_SOURCE for path resolution; add --missingconfok; fix install.sh sourcing and git pull logic
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>
2026-05-03 18:42:12 +02:00
Daniel unbrot Pätzold 9264ca8e92 Relocate dist files, fix path references, and misc script improvements
- Move setup_system.conf.dist to system_setup/config.dist/ and
  skel.tar.zst.dist + pack_skel.sh to system_setup/skel/; config/ now
  holds only gitignored local files
- Fix configure.sh CONF_DIST path (was pointing at non-existent
  config/setup_system.conf.dist)
- Fix skel/pack_skel.sh: remove vestigial source line whose path was
  wrong in both old and new location
- Update error messages in setup_system.inc.sh and
  sync_client_software.sh to reference new dist file location
- Move machine_uuid reading/writing into setup_system.inc.sh so all
  scripts have MACHINEID available; setup_system.conf.dist now uses
  MACHINEID conditionally with a hostname fallback
- sync_client_software.sh: fix && / typo (should be && \) that broke
  the flatpak remote-add → install chain; add network error handling
  after flatpak install; cleanup upgrade logic and chown placement
- Update CLAUDE.md and install.md to reflect new dist file locations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 13:28:44 +02:00
unbrot 0d86bc3d1a Div visual updates 2026-04-30 15:37:19 +02:00
unbrot 3df883dc63 Make use of config.d/configure.conf file for first setup 2026-04-29 13:14:33 +02:00
unbrot 52aafd34dd Added exit code 0 to scripts 2026-04-25 14:34:31 +02:00
unbrot 7e33a96231 Tidy output sync_client_software.sh 2026-04-25 14:10:14 +02:00
unbrot 39e181def7 First Version of upgrade 2026-04-25 11:05:47 +02:00
Daniel Pätzold 18382846a3 sync client: Fixed logging 2026-04-24 12:42:51 +02:00
Daniel Pätzold 15b15b90b0 fixed escape 2026-04-24 12:19:50 +02:00
Daniel Pätzold a9f990867f Lexx verbose 2026-04-24 12:17:36 +02:00
Daniel Pätzold 1f9b35d821 sync_client_sw less verbose 2026-04-24 12:02:48 +02:00
Daniel Pätzold e927f302a9 Fixed output of sync_client_software 2026-04-24 11:58:05 +02:00
Daniel Pätzold cd5bbd464b Moved config files to syncable folder 2026-04-24 11:31:34 +02:00
Daniel Pätzold 893c9e76b8 Fixed rights on whole install directory 2026-04-22 21:59:01 +02:00
unbrot 1606a88bb0 Anaconda provisioning: Many fixes, first working autoinstall 2026-04-21 12:17:01 +02:00
Daniel Pätzold 670f21526c KWallet-Service Setup introduced 2026-03-29 12:39:36 +02:00
Daniel Pätzold 0067c7ebfd Make Logon accept search Parameter for install 2026-03-28 20:32:15 +01:00
Daniel Pätzold fe8c7f1724 Bug: Set rights for client sw
split function elog_add_command_subshell and elog_add_command
2026-03-16 12:07:29 +01:00
Daniel Pätzold 264d1d4931 Different behaviour of "sudo -l" checks
Better shebangs
2026-03-16 11:53:31 +01:00
Daniel Pätzold 5a9059366f Bugs switch to /opt 2026-03-15 13:02:37 +01:00
Daniel Pätzold 488f04d387 Moved local dir to /opt/sys_config
Improved error logging and added function handling calls with log and return values
Improved check for matching sudo rule
2026-03-15 12:44:14 +01:00
Daniel Pätzold b1e5752318 Improved errorhandling of sw install 2026-03-12 10:35:30 +01:00
Daniel Pätzold 7e7b7753bb Make all installs be executeable 2026-03-10 16:47:11 +01:00
Daniel Pätzold 8b1a709758 Correcting rights in sw repository 2026-03-10 10:53:25 +01:00
Daniel Pätzold 48c59d0ebc Moved client software install to source dir 2026-03-10 10:45:05 +01:00
Daniel Pätzold a1737f78af Client Software install moved to source dir 2026-03-10 10:20:30 +01:00
Daniel Pätzold 9b6c9fe423 Replaced conf by anonymous dist file 2026-03-10 09:59:14 +01:00
Daniel Pätzold c7415a62ea Moved installs to source to make git and nextcloud work together 2026-03-09 20:14:17 +01:00
Daniel Pätzold 36e626e2a3 Smaller Changes / Code cleanup 2026-03-08 18:41:26 +01:00
Daniel Pätzold 9e02483f04 Bugfix Profilename in mozilla_starter to make execution with additional profile possible.
Smaller changes in Annotations
2026-03-06 15:55:53 +01:00
Daniel Pätzold 21d1144813 Changes:
- use sudo for software installation in logon script
- logon script desktop-entry
- new log functions in include
- renamed include file
- mozilla starter with profilename option
- added kdevelop profilename
2026-02-21 20:50:02 +01:00
Daniel Pätzold f48c656997 First Commit 2026-01-02 11:24:52 +01:00