[gnome-build-meta: 11/11] Link /usr/etc/os-release -> /usr/lib/os-release



commit 40f6ed48c02cd08e7e90fce7e83856a29cffef62
Author: Thomas Coldrick <othko97 gmail com>
Date:   Mon Dec 24 16:36:06 2018 +0000

    Link /usr/etc/os-release -> /usr/lib/os-release

 elements/sdk/os-release.bst | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/elements/sdk/os-release.bst b/elements/sdk/os-release.bst
index 44c7487..d22c06c 100644
--- a/elements/sdk/os-release.bst
+++ b/elements/sdk/os-release.bst
@@ -18,6 +18,8 @@ config:
     - |
       mkdir -p "%{install-root}%{indep-libdir}"
       install os-release "%{install-root}%{indep-libdir}"
+      mkdir -p "%{install-root}%{sysconfdir}"
+      ln -s "$(realpath --relative-to="%{install-root}%{sysconfdir}" 
"%{install-root}%{indep-libdir}/os-release")" %{install-root}%{sysconfdir}/os-release
 
       mkdir -p "%{install-root}%{sysconfdir}"
       install issue "%{install-root}%{sysconfdir}"


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