From b69d9ad4bab0165daade77c03b6620062edb765c Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Mon, 20 Jul 2026 12:15:11 +0200 Subject: [PATCH 1/4] Add 2026.06 symlink --- init/modules/EESSI/2026.06.lua | 1 + 1 file changed, 1 insertion(+) create mode 120000 init/modules/EESSI/2026.06.lua diff --git a/init/modules/EESSI/2026.06.lua b/init/modules/EESSI/2026.06.lua new file mode 120000 index 00000000..cbf80d1f --- /dev/null +++ b/init/modules/EESSI/2026.06.lua @@ -0,0 +1 @@ +2023.06.lua \ No newline at end of file From 2ae91291c693ed280343a4a809b8d6ab306b507b Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 21 Jul 2026 14:52:53 +0200 Subject: [PATCH 2/4] Enable debugging output --- EESSI-install-software.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/EESSI-install-software.sh b/EESSI-install-software.sh index a304a00f..c7af47fb 100755 --- a/EESSI-install-software.sh +++ b/EESSI-install-software.sh @@ -201,6 +201,7 @@ module unuse $MODULEPATH # drivers and libraries are installed in /cvmfs/software.eessi.io, and not in the EESSI_SITE_SOFTWARE_PREFIX EESSI_SITE_SOFTWARE_PREFIX_BACKUP=${EESSI_SITE_SOFTWARE_PREFIX} unset EESSI_SITE_SOFTWARE_PREFIX +export EESSI_DEBUG_INIT=1 module use $TOPDIR/init/modules module load EESSI/$EESSI_VERSION From 933f0b27d44829723827e6e74accbc680cc1d9a7 Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 21 Jul 2026 15:48:29 +0200 Subject: [PATCH 3/4] The previous construct caused new files to always be created with 022 UMASK. That doesn't make sense for some scripts that NEED to be executable, such as --- install_scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_scripts.sh b/install_scripts.sh index 004ac075..48745a3d 100755 --- a/install_scripts.sh +++ b/install_scripts.sh @@ -80,8 +80,8 @@ compare_and_copy() { else echo "File has changed in the PR" fi - # Use cat to retain existing permissions, set umask to world readable in case the target file does not yet exist. - (umask 022 && cat "$source_file" > "$destination_file") + # Use cp --preserve=mode to preserve the permissions as they are defined in the GH repo + cp --preserve=mode "$source_file" "$destination_file" echo "File $source_file copied to $destination_file" else case $? in From 8ce838ea3aa44f15fb18bd8593c5be8f249b7677 Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 21 Jul 2026 16:19:27 +0200 Subject: [PATCH 4/4] Remove debugging output --- EESSI-install-software.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/EESSI-install-software.sh b/EESSI-install-software.sh index c7af47fb..a304a00f 100755 --- a/EESSI-install-software.sh +++ b/EESSI-install-software.sh @@ -201,7 +201,6 @@ module unuse $MODULEPATH # drivers and libraries are installed in /cvmfs/software.eessi.io, and not in the EESSI_SITE_SOFTWARE_PREFIX EESSI_SITE_SOFTWARE_PREFIX_BACKUP=${EESSI_SITE_SOFTWARE_PREFIX} unset EESSI_SITE_SOFTWARE_PREFIX -export EESSI_DEBUG_INIT=1 module use $TOPDIR/init/modules module load EESSI/$EESSI_VERSION