Skip to content

Commit db8c63d

Browse files
committed
Change source package for gridengine on Ubuntu 1804
Eoan (19.10) repo is no longer available. With this commit the package will be downloaded from Focal Fossa (20.04). Signed-off-by: ddeidda <[email protected]>
1 parent 4d12878 commit db8c63d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

attributes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
if node['platform_version'] == '18.04'
303303
default['cfncluster']['base_packages'].delete('libatlas-dev')
304304
default['cfncluster']['base_packages'].push('libatlas-base-dev', 'libssl-dev', 'libglvnd-dev')
305-
default['cfncluster']['sge']['version'] = '8.1.9+dfsg-9build1'
305+
default['cfncluster']['sge']['version'] = '8.1.9+dfsg-9build2'
306306
end
307307

308308
# Modulefile Directory

files/ubuntu-18.04/sge_preinstall.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ echo "Downloading and extracting source packages for $TARBALL_ROOT_DIR"
44

55
pkg_version="$VERSION"
66

7-
#adds eon source packages
7+
#adds focal source packages
88
src_bionic=`sed -n '/#\s*deb-src .* bionic universe/p' /etc/apt/sources.list`
99

1010
# FIXME: if China region use US repository
1111
if [ "${REGION}" != "${REGION#cn-*}" ]; then
12-
src_eoan="deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ eoan universe"
12+
src_focal="deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ focal universe"
1313
else
14-
src_eoan=`echo "${src_bionic}" | sed -e 's/#//' -e 's/bionic/eoan/'`
14+
src_focal=`echo "${src_bionic}" | sed -e 's/#//' -e 's/bionic/focal/'`
1515
fi
16-
echo $src_eoan >> /etc/apt/sources.list
16+
echo $src_focal >> /etc/apt/sources.list
1717
apt update
1818

1919
mkdir /tmp/gridengine && cd /tmp/gridengine
@@ -22,7 +22,7 @@ root_dir=`ls -d */`
2222
mv "$root_dir" $TARBALL_ROOT_DIR
2323
tar cvfz $TARBALL_PATH $TARBALL_ROOT_DIR
2424

25-
#removes eon source packages
25+
#removes focal source packages
2626
sed -i '$d' /etc/apt/sources.list
2727
apt update
2828
echo "Artifact $TARBALL_ROOT_DIR.tar.gz correctly created"

0 commit comments

Comments
 (0)