Commit Graph

119 Commits

Author SHA1 Message Date
unbrot a9be4d0ac9 Bugfixing configure and make temporary token possible 2026-04-29 17:05:46 +02:00
unbrot d3f4345f97 Install.sh: Make changes possible for first setup 2026-04-29 16:28:41 +02:00
unbrot f69b423b30 Add repo URL verification via curl checksum in install.sh
Before partitioning, check_repo_url() downloads
system_setup/install.sh from REPO_URL and compares its sha256sum
against the running script. Warns and asks to continue if the URL
is unreachable or the checksums differ.

Also accept an optional first argument to override REPO_URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 16:17:33 +02:00
unbrot 05a47a140d Add configure.sh wizard and offer to run it after install
- system_setup/configure.sh: interactive first-time setup wizard that
  edits config.d/configure.conf, tests the encrypted home mount, and
  obtains a Nextcloud WebDAV token
- configure.md: short usage documentation for configure.sh
- system_setup/install.sh: after cloning the repo, ask whether to run
  configure.sh immediately (as the sudo-invoking user via su)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 14:12:11 +02:00
unbrot 3df883dc63 Make use of config.d/configure.conf file for first setup 2026-04-29 13:14:33 +02:00
unbrot 296026b667 Set GPT partition name to anacondainstall for OEMDRV partition
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 16:45:16 +02:00
unbrot 5ef48c84e5 Replace parted resizepart with sfdisk --force
parted fails to resize a mounted partition non-interactively.
sfdisk --no-reread --force writes the updated partition table
directly without TTY/confirmation issues, and partprobe
re-reads it afterwards.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 16:40:18 +02:00
unbrot 5c2182a1c9 Fix parted failing on busy partition in script mode
parted -s answers confirmation prompts with "no" (conservative),
causing resizepart/mkpart to fail on a mounted partition. Pipe
"Yes" to parted stdin instead so busy-partition warnings are
confirmed and the operation proceeds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 16:30:19 +02:00
unbrot bf71540f66 Fix btrfs resize: use online resize instead of unmount/remount
btrfs supports live filesystem resize, so there is no need to
unmount a mounted btrfs partition before shrinking it. This also
avoids umount failures when the partition is busy (e.g. /home with
an active SSH session). ext4 still requires offline resize.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 16:26:27 +02:00
unbrot bfa5515d75 Fix double /dev/ prefix bug in collect_partitions
lsblk -p returns PKNAME as a full path (/dev/sda), so stripping
the basename before prepending /dev/ avoids /dev//dev/sda.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 16:23:51 +02:00
unbrot 9e16162077 Add free space detection to install.sh as alternative to partition shrinking
If a disk has unpartitioned space >= 4096 MiB, it is offered as a direct
target for the OEMDRV partition, avoiding any filesystem resize.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 14:59:14 +02:00
unbrot 9974facd45 Fix install.sh exiting immediately when not run as root
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 14:07:02 +02:00
unbrot 4d9ec0d356 Moved install-md to top level 2026-04-27 13:45:55 +02:00
unbrot 6bb7cac7ad Add install.md with usage instructions for install.sh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 21:23:55 +02:00
unbrot 5d0c674bec Add install.sh bootstrap script to create OEMDRV partition
Shrinks a selected ext4/btrfs partition by 4 GiB, creates a new BTRFS
partition labeled OEMDRV, mounts it to /opt/sys_config and clones the
repository into it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 21:14:41 +02:00
unbrot 59ca8f987c Include local conf.d definitions 2026-04-25 15:31:45 +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 0f59f60e7c Make install dir a git safe directory 2026-04-25 13:45:00 +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 dfbe9ec625 Added confirmLogout=false 2026-04-23 13:58:21 +02:00
Daniel Pätzold 14b35f8bb8 Fixed Errorlogging and kill firefox after token. 2026-04-23 12:16:32 +02:00
Daniel Pätzold 0c6a6b41bc System setup with KDE single click 2026-04-23 10:18:45 +02:00
Daniel Pätzold 893c9e76b8 Fixed rights on whole install directory 2026-04-22 21:59:01 +02:00
Daniel Pätzold 30bad95316 Kickstart: do not setup user at first boot and set graphical as default target 2026-04-22 21:30:52 +02:00
Daniel Pätzold 35b6e1ee1a Logon:Install pip-module webdav3 2026-04-22 21:09:32 +02:00
obel1x 131d55bddb system_setup/setup_system_full.sh aktualisiert
Fixed Bug skel setup with anaconda
2026-04-22 15:02:59 +02:00
unbrot 49a3c7ece4 Basic system packages 2026-04-22 11:35:57 +02:00
unbrot b7dd79600d Skel: Logonscript improved 2026-04-21 19:31:57 +02:00
unbrot 21fcd6aa49 Mozilla pre script: initial version 2026-04-21 18:50:21 +02:00
unbrot 1606a88bb0 Anaconda provisioning: Many fixes, first working autoinstall 2026-04-21 12:17:01 +02:00
Daniel Pätzold 7476c27256 Logon script setup: Moved to client software 2026-04-09 14:17:53 +02:00
Daniel Pätzold c9e38bba32 Base Setup 2026-04-08 18:39:33 +02:00
Daniel Pätzold 772f20e1ce Nextcloud client: Support multi sync folders and move to userspace 2026-04-08 14:52:11 +02:00
Daniel Pätzold 38e911526e Fixed call user_run from logon parameters 2026-04-07 15:08:25 +02:00
Daniel Pätzold 1cee4f82f4 Kwallet: Split User_Run from install 2026-04-07 15:06:57 +02:00
Daniel Pätzold 0e4eadbef3 Add user_run scripts for non root tasks 2026-04-01 00:41:24 +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 082d0ad4bd Moved encryption Warning 2026-03-26 16:12:37 +01:00
Daniel Pätzold a7bd9ba054 elog_add_command directly to screen 2026-03-16 12:16:04 +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 453201981a Bug start at logon could not find mozilla_starter.sh 2026-03-15 13:12:27 +01:00