-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootstrap_image and the local repositories
We can not use user_mountpoints because these aren't (historically, not sure what are the reasons) mounted too late during the Buildroot preparation (after the self._init_pkg_management()). This isn't actually an issue when 'use_bootstrap_image == False' because we use the package manager on host (so it actually sees the repository on host). So newly we place the local_repo mount points into the "managed" category, which seems even semantically better now. We though need to call the 'self.mounts.mountall_managed()' method a little bit later than before, when the local repo BindMountPoints are already defined by self.pkg_manager.initialize(). This problem has been triggered by the LVM test-case that creates a custom local_repo (on host) with `baseurl=/tmp/foo` that needs to be bind-mounted into the bootstrap chroot properly. Closes: #1167
- Loading branch information
Showing
3 changed files
with
19 additions
and
5 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