Commit Graph

162 Commits

Author SHA1 Message Date
unbrot 9cb2977527 Fix Firefox display access when configure.sh runs via su
Pass DISPLAY and WAYLAND_DISPLAY explicitly through the su call in
install.sh so Firefox can connect to the user's display session.
Remove the now-unnecessary DISPLAY=:0 fallback from get_nc_token.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 18:02:20 +02:00
unbrot a5c8d596fa Configure.sh: make dynamic variable prompts and run without tokenfile 2026-04-29 17:52:26 +02:00
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 3eee476fc4 Add Cinnamon kickstart profile based on KDE fullsetup
Replaces KDE desktop environment group and KDE-specific packages
with Cinnamon equivalents (transmission-gtk replaces ktorrent).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 13:29:52 +02:00
unbrot 3df883dc63 Make use of config.d/configure.conf file for first setup 2026-04-29 13:14:33 +02:00
unbrot 99d5799581 Gitignore +ks_pc_prof 2026-04-29 12:05:15 +02:00
unbrot 70b26facc8 Updated ks base-profiles 2026-04-29 11:58:36 +02:00
unbrot 1f17ef5c2f Update install.md: download script before running with sudo
Process substitution does not survive sudo, so the script must be
downloaded to a temp file first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 17:15:06 +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 576363cdca Fix Nextcloud app password not stored in KWallet after autoprovisioning
The Flatpak autoprovisioning command does not reliably write credentials
to KWallet from inside the sandbox. After provisioning, directly write
both KWallet entries (user:url/:0 and user_app-password:url/:0) via
qdbus, creating the Nextcloud folder first if needed. kwallet-query was
tried but silently returns 0 without creating missing folders.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 17:30:49 +02:00
unbrot 5620e73c4d Add CLAUDE.md with codebase guidance for Claude Code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 16:54:47 +02:00
obel1x db62feea72 Merge pull request 'Local conf.d' (#10) from unbrot/fedora-OEMDRV:main into main
Reviewed-on: obel1x/fedora-OEMDRV#10
2026-04-25 15:45:54 +02:00
unbrot afd771c525 Merge branch 'main' of ssh://gitea.dtext.online:2222/unbrot/fedora-OEMDRV 2026-04-25 15:40:56 +02:00
unbrot 054a1fd048 Add Readme for config.d 2026-04-25 15:39:25 +02:00
unbrot 59ca8f987c Include local conf.d definitions 2026-04-25 15:31:45 +02:00
obel1x 50b641d6c4 Merge pull request 'Bugfixes' (#9) from unbrot/fedora-OEMDRV:main into main
Reviewed-on: obel1x/fedora-OEMDRV#9
2026-04-25 14:50:38 +02:00
unbrot 7514b7cbe3 Talk: setsid won't work with Quotes 2026-04-25 14:48:09 +02:00
unbrot 7b6f7c8ea8 Talk: Set exitcode 2026-04-25 14:38:27 +02:00
unbrot 52aafd34dd Added exit code 0 to scripts 2026-04-25 14:34:31 +02:00
unbrot 72faa4d0f2 Talk: Add Background back again 2026-04-25 14:31:42 +02:00
unbrot 7ef83c5846 Talk: Fork in Background with bash 2026-04-25 14:27:46 +02:00
unbrot 7e33a96231 Tidy output sync_client_software.sh 2026-04-25 14:10:14 +02:00
unbrot 4947599bb3 Talk: Stop before upgrade 2026-04-25 14:09:49 +02:00
unbrot c5e4cc1d12 talk: always fork new process 2026-04-25 13:52:46 +02:00
unbrot 398354028a Talk: call fixed in Background 2026-04-25 13:47:07 +02:00
unbrot 0f59f60e7c Make install dir a git safe directory 2026-04-25 13:45:00 +02:00
unbrot a9fc6fda72 Wallet: New install wrote new rc at the second logon 2026-04-25 13:28:19 +02:00
obel1x 67ca360b73 Merge pull request 'Upgrade Feature' (#8) from unbrot/fedora-OEMDRV:main into main
Reviewed-on: obel1x/fedora-OEMDRV#8
2026-04-25 11:45:07 +02:00
unbrot a9b329bf6d setup_system.conf.dist typo 2026-04-25 11:19:12 +02:00
unbrot 39e181def7 First Version of upgrade 2026-04-25 11:05:47 +02:00
unbrot 06f28d1064 moved gitignore from client software 2026-04-25 11:04:59 +02:00
unbrot d08ee7e2ec Add diffuse to software 2026-04-25 10:53:22 +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 f4d4b7e255 gitignore fixed 2026-04-24 11:38:32 +02:00