[gnome-build-meta/abderrahim/backports: 7/7] Link /usr/etc/os-release -> /usr/lib/os-release



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

    Link /usr/etc/os-release -> /usr/lib/os-release
    
    (cherry picked from commit 40f6ed48c02cd08e7e90fce7e83856a29cffef62)

 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 2b201da..7d515d8 100644
--- a/elements/sdk/os-release.bst
+++ b/elements/sdk/os-release.bst
@@ -22,6 +22,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]