Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt kernel #1299

Merged
merged 4 commits into from
Jan 24, 2024
Merged

Adapt kernel #1299

merged 4 commits into from
Jan 24, 2024

Conversation

jreidinger
Copy link
Member

Problem

In agama there are no /etc/install.inf, but kernel parsing depends on it. Result is that kernel parameters are not properly passed to installed system.

Solution

Read /proc/cmdline when /etc/install.inf is not available.

Testing

  • Tested manually

@coveralls
Copy link

Coverage Status

coverage: 41.879%. remained the same
when pulling 560184f on adapt_kernel
into 237b6a5 on master.

# live installation does not create /etc/install.inf (bsc#793065)
tmp = if Mode.live_installation
# Check if /etc/install.inf exists
tmp = if SCR.Dir(path(".etc.install_inf")).empty?
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess /etc/install.inf should be already copied in the target system when this check is done as well as the read is performed but we have to be careful about it.

Copy link
Member Author

Choose a reason for hiding this comment

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

well, I keep it working as before...so previously it calls SCR.Execute..so I use also SCR for Dir to check existence.

Copy link
Contributor

@teclator teclator left a comment

Choose a reason for hiding this comment

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

LGTM

@jreidinger jreidinger merged commit d6ae868 into master Jan 24, 2024
12 checks passed
@jreidinger jreidinger deleted the adapt_kernel branch January 24, 2024 09:24
@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #226 successfully finished
✔️ Created OBS submit request #1141192

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.

4 participants