From f8dd47e11d823b549fc815fbceaa1e5260208983 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 2 Oct 2023 20:35:48 +0200 Subject: [PATCH] lxc: Recursively mount vendor_extra HALIUM devices may use bind-mounts to override libraries over the prebuild read-only vendor image. We want to keep those overrides in our /vendor_extra mount. --- tools/helpers/lxc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py index 76cfd74..6be7b7d 100644 --- a/tools/helpers/lxc.py +++ b/tools/helpers/lxc.py @@ -74,7 +74,7 @@ def generate_nodes_lxc_config(args): if args.vendor_type != "MAINLINE": if not make_entry("/dev/hwbinder", "dev/host_hwbinder"): raise OSError('Binder node "hwbinder" of host not found') - make_entry("/vendor", "vendor_extra", options="bind,optional 0 0") + make_entry("/vendor", "vendor_extra", options="rbind,optional 0 0") # Necessary device nodes for adb make_entry("none", "dev/pts", "devpts", "defaults,mode=644,ptmxmode=666,create=dir 0 0", False) -- 2.47.3