lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 3d8b006 3/3: Work around wrong directory perm


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 3d8b006 3/3: Work around wrong directory permissions in MSW cross-build job
Date: Sun, 3 Oct 2021 18:45:24 -0400 (EDT)

branch: master
commit 3d8b0069f9a2b47602bed691ac8956c62a56525b
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Work around wrong directory permissions in MSW cross-build job
    
    Somehow /opt/lmi/local ends up being owned by root, rather than the
    current user, resulting in errors when trying to create
    /opt/lmi/local/gcc_x86_64-pc-linux-gnu later.
    
    Work around this by pre-creating the directory with the correct owner.
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 554b2f3..d438059 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -151,7 +151,7 @@ jobs:
           echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
 
           # Create directories required by lmi.
-          for d in /opt/lmi /opt/lmi/print /etc/opt/lmi /srv/cache_for_lmi; do
+          for d in /opt/lmi /opt/lmi/local /opt/lmi/print /etc/opt/lmi 
/srv/cache_for_lmi; do
             sudo mkdir --parents $d
             sudo --preserve-env chown $normal_uid $d
           done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]