Skip to content

Autologin removal: tell the live USB by its mounted medium - #41

Merged
SegMind25 merged 1 commit into
mainfrom
ccr-376b5e1b-7hedoo
Oct 31, 2026
Merged

SegMind25 merged 1 commit into
mainfrom
ccr-376b5e1b-7hedoo

Conversation

@SegMind25

Copy link
Copy Markdown
Owner

The upgrade test still found SDDM's automatic sign-in after upgrading, even with the newest package built from source (0.1.0.157).

The removal skips the live USB, and it detected the live USB only by whether /run/artix/bootmnt exists. In the test's chroot of the old ISO's files, that path most likely exists as a plain folder. The live USB is now recognised only where that path is a mount point (mountpoint -q).

Tested: a folder alone no longer counts as the live USB, and the autologin section is removed. shellcheck is clean.


Generated by Claude Code

A folder named /run/artix/bootmnt exists in the ISO's own files, so a
system made from them (and the upgrade test's chroot) was taken for the
live USB and kept signing in by itself. The live USB is where that
folder is a mount point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
seglinux Ready Ready Preview Oct 31, 2026 4:28pm UTC

@SegMind25
SegMind25 merged commit a4ec875 into main Oct 31, 2026
20 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1bfc2df3 Deployed Oct 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants