Skip to content

Handle whole-disk LUKS root params - #4205

Merged
svartkanin merged 1 commit into
archlinux:masterfrom
melihemik:master
Feb 3, 2026
Merged

Handle whole-disk LUKS root params#4205
svartkanin merged 1 commit into
archlinux:masterfrom
melihemik:master

Conversation

@melihemik

@melihemik melihemik commented Feb 2, 2026

Copy link
Copy Markdown
Contributor
  • This fix issue:

PR Description:

Tests and Checks

  • I have tested the code!

@melihemik
melihemik requested a review from Torxed as a code owner February 2, 2026 20:57
@svartkanin
svartkanin merged commit 0dddc73 into archlinux:master Feb 3, 2026
9 of 18 checks passed
Comment on lines +57 to +59
if os.environ.get('ARCHINSTALL_SKIP_DEVICE_PROBE') == '1':
debug('Skipping device probe due to ARCHINSTALL_SKIP_DEVICE_PROBE=1')
return

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

@codefiles

Copy link
Copy Markdown
Contributor

I do not know why this was merged. It seems vibe coded. Was this actually reviewed before merging?

kernel_params = ' '.join(self._get_kernel_params(root))
config_contents = 'timeout: 5\n'
config_contents = f'# Created by archinstall on {self.init_time}\\n'
config_contents += 'timeout: 5\\n'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This escaping change looks incorrect (and also seems unrelated):

import time

init_time = time.strftime('%Y-%m-%d_%H-%M-%S')
config_contents = f'# Created by archinstall on {init_time}\\n'
config_contents += 'timeout: 5\\n'
print(config_contents)

The code now prints everything on one line:

# Created by archinstall on 2026-02-03_06-52-35\ntimeout: 5\n

svartkanin added a commit that referenced this pull request Feb 3, 2026
@Torxed

Torxed commented Feb 3, 2026

Copy link
Copy Markdown
Member

Well revert it.

I reviewed it, but due to not doing it on my main computer I missed some of the syntax issues.

I noted the environ use, and thought it might be a nice way of adding skips. I know it's different from how we do it today. But thought perhaps people prefer this ^^

correctmost added a commit to correctmost/archinstall that referenced this pull request Feb 14, 2026
svartkanin pushed a commit that referenced this pull request Feb 14, 2026
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.

5 participants