[gnome-build-meta] project.conf: Use `host-files` feature to enhance shell experience



commit 98721b805f64ba2ebfa3851784f7b2e99e2dd026
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date:   Wed Feb 28 01:58:11 2018 +0900

    project.conf: Use `host-files` feature to enhance shell experience
    
    For now, bringing in `/etc/resolv.conf` and `/etc/passwd`.
    
    Bumping minimum required format version to version 2, which adds
    the new `host-files` shell feature.

 project.conf | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/project.conf b/project.conf
index 300e68f..4f898bd 100644
--- a/project.conf
+++ b/project.conf
@@ -2,7 +2,7 @@
 name: gnome
 
 # The minimum base BuildStream format
-format-version: 1
+format-version: 2
 
 # Where elements are stored
 element-path: elements
@@ -99,3 +99,8 @@ shell:
   environment-inherit:
   - DISPLAY
   - DBUS_SESSION_BUS_ADDRESS
+
+  # Some things to mount into the sandbox
+  host-files:
+  - '/etc/resolv.conf'
+  - '/etc/passwd'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]