Skip to content

Handle whole-disk LUKS root params#4205

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
favilances:master
Feb 3, 2026
Merged

Handle whole-disk LUKS root params#4205
svartkanin merged 1 commit intoarchlinux:masterfrom
favilances:master

Conversation

@favilances
Copy link
Contributor

@favilances favilances commented Feb 2, 2026

  • This fix issue:

PR Description:

Tests and Checks

  • I have tested the code!

@favilances favilances 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
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
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
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
Copy link
Member

Torxed commented Feb 3, 2026

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 ^^

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