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

rust/scripts: Ignore kernel-automotive-core.posttrans #3721

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jun 2, 2022

Yet another kernel package variant whose %posttrans we want to ignore.

As mentioned in there, I think we should change the strategy so that we
detect kernel packages like we do in the core based on its Provides to
know to ignore %posttrans.

Alternatively/additionally, we should work with kernel and systemd teams
so that e.g. it short-circuits if it detects an "offline" system. That
would also benefit containers, which AFAIK even today runs dracut on
kernel installs.

Closes: #3720

Yet another kernel package variant whose %posttrans we want to ignore.

As mentioned in there, I think we should change the strategy so that we
detect kernel packages like we do in the core based on its `Provides` to
know to ignore %posttrans.

Alternatively/additionally, we should work with kernel and systemd teams
so that e.g. it short-circuits if it detects an "offline" system. That
would also benefit containers, which AFAIK even today runs dracut on
kernel installs.

Closes: coreos#3720
@cgwalters
Copy link
Member

Alternatively/additionally, we should work with kernel and systemd teams so that e.g. it short-circuits if it detects an "offline" system.

I think we may actually be able to do that today by dropping something in /etc/kernel/install.d which exits 77?

@cgwalters cgwalters enabled auto-merge (rebase) June 2, 2022 16:19
@cgwalters cgwalters merged commit 34cdfd6 into coreos:main Jun 2, 2022
@jlebon jlebon deleted the pr/ignore-auto-posttrans branch April 23, 2023 23:32
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.

Replacing kernel-automotive package fails during %posttrans
2 participants