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

Remove all hardcoded (serial) console service files #40

Merged
merged 1 commit into from
Dec 2, 2019

Conversation

simonvanderveldt
Copy link
Owner

@simonvanderveldt simonvanderveldt commented Dec 1, 2019

These are incorrectly created by buildroot and cause either a warning or real issues where the serial console won't work
depending on what BR2_TARGET_GENERIC_GETTY_PORT is set to.
To ensure this doesn't happen we simply delete all the files (which buildroot has created) in /etc/systemd/system/getty.target.wants

This behavior has been incorrect in buildroot for a while but with the introduction of buildroot/buildroot@940e7de it broke our serial console.

The default should be to not create any of these when systemd is used and let the user add additional ones if he/she wants to.

These are incorrectly created by buildroot and cause either a warning or real issues
where the serial console won't work depending on what BR2_TARGET_GENERIC_GETTY_PORT is set to.
To ensure this doesn't happen we simply delete all the files (which buildroot has created) in /etc/systemd/system/getty.target.wants
@simonvanderveldt
Copy link
Owner Author

Checked the image built by Circle and it works correctly now :)

@simonvanderveldt simonvanderveldt merged commit 2639f8a into master Dec 2, 2019
@simonvanderveldt simonvanderveldt deleted the fix-console branch December 2, 2019 07:56
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.

None yet

1 participant