Revert "PR#3568: kiwi: don't bind builders's /dev"
This reverts commit56cea9adc2, reversing changes made toe9b5ec215d. mock was changed meanwhile to automatically bind device mapper into the buildroot. Related: https://pagure.io/koji/issue/3567 https://pagure.io/koji/pull-request/3585 https://github.com/rpm-software-management/mock/pull/1005
This commit is contained in:
parent
1ece0d459e
commit
05851ac0c9
3 changed files with 2 additions and 12 deletions
|
|
@ -304,10 +304,6 @@ class KiwiCreateImageTask(BaseBuildTask):
|
|||
desc_url, desc_path, opts=None):
|
||||
self.opts = opts
|
||||
build_tag = target_info['build_tag']
|
||||
if opts.get('bind_dev'):
|
||||
bind_opts = {'dirs': {'/dev': '/dev'}}
|
||||
else:
|
||||
bind_opts = None
|
||||
broot = BuildRoot(self.session, self.options,
|
||||
tag=build_tag,
|
||||
arch=arch,
|
||||
|
|
@ -315,7 +311,7 @@ class KiwiCreateImageTask(BaseBuildTask):
|
|||
repo_id=repo_info['id'],
|
||||
install_group='kiwi-build',
|
||||
setup_dns=True,
|
||||
bind_opts=bind_opts)
|
||||
bind_opts={'dirs': {'/dev': '/dev', }})
|
||||
broot.workdir = self.workdir
|
||||
|
||||
# create the mock chroot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue