Skip to content

Commit d0f671f

Browse files
authored
Merge pull request #99 from DrDaveD/add-rel9-archs
Add rhel9-aarch64 and rhel9-ppc64le types, update to 4.42
2 parents d641891 + 0c46296 commit d0f671f

File tree

6 files changed

+36
-9
lines changed

6 files changed

+36
-9
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
cvmfsexec-4.42 - 24 September 2024
2+
- Add rhel9-aarch64 and rhel9-ppc64le machine types.
3+
- In makedist help, split machine types from different distributions
4+
onto different lines.
5+
16
cvmfsexec-4.41 - 9 September 2024
27
- Switch to the archive for el7 epel packages.
38
- Add CI checks on every pull request for a fairly through test of

ci/make-and-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ for DIST in default osg egi; do
6262
SINGCVMFS_REPOSITORIES=atlas.cern.ch PATH=$PATH:$PWD/apptainer/bin \
6363
./singcvmfs exec -cip docker://$DOCKER_HUB_URI sh -c \
6464
"ls /cvmfs/atlas.cern.ch/repo && mount|grep $CACHEPAT"
65-
if [[ "$VERSION_ID" == 8* ]]; then
65+
if [[ "$VERSION_ID" == 8* ]] || [[ "$VERSION_ID" == 9* ]]; then
6666
: try to at least make other supported architecture distributions
6767
for arch in aarch64 ppc64le; do
6868
rm -rf dist /tmp/cvmfsexec

ci/privileged-run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
set -ex
66
if [ -f /usr/bin/zypper ]; then
77
# suse
8-
zypper install -y tar gzip openssl-1_1 fuse fuse3 e2fsprogs fuse2fs
8+
zypper install -y tar gzip procps openssl-1_1 fuse fuse3 e2fsprogs fuse2fs
99
else
1010
# rhel
1111
yum install -y procps-ng cpio findutils fuse fuse3 e2fsprogs
12-
if [[ $DOCKER_HUB_URI == *:8 ]]; then
12+
if [[ $DOCKER_HUB_URI == *:8 ]] || [[ $DOCKER_HUB_URI == *:9 ]]; then
1313
yum install -y yum-utils
1414
fi
1515
fi

cvmfsexec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#set -x
1010
#PS4='c$$+ '
1111

12-
VERSION=4.41
12+
VERSION=4.42
1313

1414
usage()
1515
{

makedist

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,26 @@
55
# Written by Dave Dykstra 17 April 2019
66
#
77

8-
SUPPORTEDTYPES="rhel7-x86_64 rhel8-aarch64 rhel8-x86_64 rhel8-ppc64le rhel9-x86_64 suse15-x86_64"
8+
SUPPORTEDTYPES="rhel7-x86_64 rhel8-aarch64 rhel8-x86_64 rhel8-ppc64le rhel9-aarch64 rhel9-x86_64 rhel9-ppc64le suse15-x86_64"
9+
10+
supportedtypes() {
11+
typeset LASTDISTRO=""
12+
typeset TYPES=""
13+
typeset TYPE THISDISTRO
14+
for TYPE in $SUPPORTEDTYPES; do
15+
THISDISTRO="${TYPE%-*}"
16+
if [ "$THISDISTRO" != "$LASTDISTRO" ]; then
17+
if [ -n "$TYPES" ]; then
18+
echo "$1$TYPES" >&2
19+
fi
20+
LASTDISTRO="$THISDISTRO"
21+
TYPES="$TYPE"
22+
else
23+
TYPES="$TYPES $TYPE"
24+
fi
25+
done
26+
echo "$1$TYPES" >&2
27+
}
928

1029
usage()
1130
{
@@ -15,7 +34,7 @@ usage()
1534
echo " The first usage creates a distribution in 'dist' directory."
1635
echo " The -m option selects machinetype for the distribution."
1736
echo " The default is the current machine. Supported types:"
18-
echo " $SUPPORTEDTYPES"
37+
supportedtypes " "
1938
echo " The second usage puts 'dist' and cvmfsexec tools into one script with the"
2039
echo " given file name that self extracts and executes cvmfsexec."
2140
echo " After extraction, files are left behind under '.cvmfsexec' in the same"
@@ -84,12 +103,14 @@ DISTRO="`distroname`"
84103
VERS="`distroversion`"
85104
ARCH="`distroarch`"
86105

87-
MACHTYPE=$DISTRO$VERS-$ARCH
106+
if [ -z "$MACHTYPE" ]; then
107+
MACHTYPE=$DISTRO$VERS-$ARCH
108+
fi
88109

89110
if [[ " $SUPPORTEDTYPES " != *" $MACHTYPE "* ]]; then
90111
echo "$MACHTYPE not a supported machine type" >&2
91112
echo "Supported types are:" >&2
92-
echo " $SUPPORTEDTYPES" >&2
113+
supportedtypes " " >&2
93114
exit 1
94115
fi
95116

@@ -235,6 +256,7 @@ if [ "$ARCH" = "ppc64le" ]; then
235256
fi
236257
CVMFSURL="$(dirname $CVMFSRPMURL)"
237258
CVMFSRPMNAME="$(basename $CVMFSRPMURL)"
259+
CVMFSVERSION="`echo "$CVMFSRPMNAME" 's/.*cvmfs-\([^-]*\)-.*/\1/'`"
238260
else
239261
# Now that we can figure out the latest cvmfs version, download the
240262
# corresponding cvmfs packages from CERN instead

singcvmfs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# with the singularity --fusemount option.
44
# Written by Dave Dykstra March 2020
55

6-
VERSION=4.41
6+
VERSION=4.42
77

88
ME="`basename $0`"
99

0 commit comments

Comments
 (0)