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
|
|
@ -30,9 +30,6 @@ def handle_kiwi_build(goptions, session, args):
|
|||
parser.add_option("--type", help="Override default build type from description")
|
||||
parser.add_option("--make-prep", action="store_true", default=False,
|
||||
help="Run 'make prep' in checkout before starting the build")
|
||||
parser.add_option("--bind-dev", action="store_true", default=False,
|
||||
help="e.g. images using device-mapper needs /dev mounted in kiwi env, "
|
||||
"while others can fail in such env.")
|
||||
parser.add_option("--can-fail", action="store", dest="optional_arches",
|
||||
metavar="ARCH1,ARCH2,...", default="",
|
||||
help="List of archs which are not blocking for build "
|
||||
|
|
@ -55,7 +52,6 @@ def handle_kiwi_build(goptions, session, args):
|
|||
'target': target,
|
||||
'desc_url': scm,
|
||||
'desc_path': path,
|
||||
'bind_dev': options.bind_dev,
|
||||
}
|
||||
if options.scratch:
|
||||
kwargs['scratch'] = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue