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

Don't mount entire /dev into container when installing grub #488

Closed
wants to merge 1 commit into from

Conversation

DaanDeMeyer
Copy link
Contributor

Instead, only mount the necessary loop device and partitions.

Fixes #403 since it removes the --console=pipe usage as well.

Instead, only mount the necessary loop device and partitions.
Copy link
Contributor

@lucasdemarchi lucasdemarchi left a comment

Choose a reason for hiding this comment

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

Is this tested? Last time I tried like this it didn't work

@DaanDeMeyer
Copy link
Contributor Author

mkosi -d arch --boot-protocols bios --bootable succeeds for me with these changes.

(I'm planning to extend CI to build bootable images, bios and uefi to get more test coverage of this stuff)

@DaanDeMeyer
Copy link
Contributor Author

Closing this one, I'm adding it to #489 instead so it can immediately run on the extended CI.

@DaanDeMeyer DaanDeMeyer closed this Aug 2, 2020
@DaanDeMeyer DaanDeMeyer deleted the nspawn-console branch August 8, 2020 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

mkosi fails while spawning systemd-nspawn during bios-enabled build
2 participants