Stage: don't bind-mount devtmpfs into the stage buildroot

We only use devices in Assemblers so this is not needed.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-07-17 13:03:17 +02:00 committed by Lars Karlitski
parent 8994e7f803
commit 18ebce3016

View file

@ -175,10 +175,7 @@ class Stage:
r = buildroot.run(
[f"{libdir}/stages/{self.name}"],
binds=[
f"{tree}:/run/osbuild/tree",
"/dev:/dev"
],
binds=[f"{tree}:/run/osbuild/tree"],
readonly_binds=_get_system_resources_from_etc(self.resources),
encoding="utf-8",
input=json.dumps(args),