[go: nahoru, domu]

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

Pre-populate /etc/machine-id to work around systemd install error on certain kernels (issue #4016) #4320

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

jichu4n
Copy link
Contributor
@jichu4n jichu4n commented Jul 23, 2020

Fixes #4016

In this PR, we add a step in the prepare script to generate /etc/machine-id before the systemd package is configured as part of debootstrap --second-stage. This basically makes systemd-machine-id-setup a no-op when it is invoked as part of systemd's postinst script, thus avoiding the problem in issue #4016 and #3914 .

In this commit, we add a step in the prepare script to generate
`/etc/machine-id` before the systemd package is configured in
`debootstrap --second-stage`. This basically makes
`systemd-machine-id-setup` a no-op when it is invoked as part of
systemd's postinst script, thus avoiding the problem in issue #4016.
@jichu4n jichu4n changed the title Workaround for issue #4016. Pre-populate /etc/machine-id to work around systemd install error on certain kernels (issue #4016) Jul 23, 2020
@dnschneid dnschneid merged commit 3b61050 into dnschneid:master Jul 24, 2020
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.

Crouton essentially broken on 32-bit x86 ChromeOS kernels > 3.4 and < 3.18
2 participants