Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some operations need access to the disk device backing the image that's being build, in particular for installing grub-pc. e.g. grub-install needs to write to the MBR to add it's boot imgae and probed information. To allow this bind mount the image device file, all devices files for the created partitions and the /dev/disk directory (for udev alias symlinking) into a chroot when running commands in it. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
- Loading branch information
1 parent
d64043a
commit aa28780
Showing
4 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters