[gnome-build-meta] base/base-configure.bst: Adding a default nameserver to the runtime



commit 325635536789328c97ef4b59180cbb1cb2d8dd2d
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date:   Thu Feb 22 22:31:35 2018 +0900

    base/base-configure.bst: Adding a default nameserver to the runtime
    
    This is not as elaborate as attempting to use the host's
    resolv.conf, but should be good enough until we get some
    configuration support in project.conf to customize the shell
    in such ways.

 elements/base/base-configure.bst | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/elements/base/base-configure.bst b/elements/base/base-configure.bst
index 0bb07ae..c97b3a4 100644
--- a/elements/base/base-configure.bst
+++ b/elements/base/base-configure.bst
@@ -48,3 +48,7 @@ config:
         ! -wholename "/usr/share/doc/*/libstdc++/user/libstdc++.tag" \
         -exec rm -f {} \;
     find /usr/share/doc -type d -empty -delete
+
+  - |
+    # Add a default nameserver to the runtime
+    echo "nameserver 8.8.8.8" > /etc/resolv.conf


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